I want to download some tracks that are playable but they resist me so far

  • tal@lemmy.today
    link
    fedilink
    English
    arrow-up
    0
    ·
    21 hours ago

    If this is desktop Firefox, try clicking on the lock icon by the URL bar, choosing “Connection secure”, choosing “More Information”, choosing “Media” and then picking the item out of the list (it may help to sort by type), and then clicking “Save As…”

    And yes, that is a highly-unintuitive place to put it, IMHO.

  • anewfox@lemmy.zip
    link
    fedilink
    arrow-up
    0
    ·
    22 hours ago

    sometimes it’s as simple as finding audio elements in the inspector and opening the src attribute in a new tab. ctrl+shift+i (or f12) and you can search for “audio.”

    you can also open the network tab, refresh, play the audio, and scroll through requests to see when it requests the audio data. it’s also searchable, look for mp3 and ogg files. if it’s a playlist file (m3u8), you can feed that url to yt-dlp.

    • cheese_greater@lemmy.worldOP
      link
      fedilink
      arrow-up
      0
      ·
      20 hours ago

      I ended up doing this and it worked like a charm altho it was manualish (copied source code and regexed for *.mp3 or something that I had 'Chat make.

      Then it was just a matter of copying the urls each and saving/naming the file properly.

      • Hamartiogonic@sopuli.xyz
        link
        fedilink
        arrow-up
        0
        ·
        13 hours ago

        You got lucky. Once I tried to save a video lecture, but it was some freaky stream, so the files were buried really deep. The names and file extensions were anything but reasonable, but eventually managed to find them anyway. Took some creativity to figure it out though.

        I also couldn’t use the normal video download helper plugin which usually handles these situations. I had to use some special stream saving plugin to stitch together a thousand little files.

        • cheese_greater@lemmy.worldOP
          link
          fedilink
          arrow-up
          0
          ·
          12 hours ago

          Theres gotta be an easier way tho. Like, your system is streaming the file, how hard should it be to simply yoink that which is streaming?

          All the video caching apps do it, should be much easier

  • BCsven@lemmy.ca
    link
    fedilink
    arrow-up
    0
    ·
    22 hours ago

    There will be add on software solutions, but in the olden times we would plug a doubled ended jack cord into the headphone jack and plug the other end into the mic jack, then run the built in sound recorder.

  • 4am@lemmy.zip
    link
    fedilink
    arrow-up
    0
    ·
    22 hours ago

    Sometimes yt-dlp works (depends on the site). You can record audio with Audacity or OBS Studio (captures a video which you can then extract with Audacity or VLC). There are some audio capture programs for Mac if that is your OS; there might be something similar for Windows and Linux but Audacity should do the job.

  • otacon239@lemmy.world
    link
    fedilink
    arrow-up
    0
    ·
    1 day ago

    If all else fails, you can always just record the audio being played through your system with Audacity. This isn’t great for ripping music, but if you can’t grab audio any other way, it’s reliable.

    • cheese_greater@lemmy.worldOP
      link
      fedilink
      arrow-up
      0
      ·
      20 hours ago

      Have done this before onscreen on an iPhone to get an audio sample from an app that appears nowhere else haha. Turned out ok but i do prefer to get the actual source files so I did the view source thing to getthe mp3s