Getting started

To do this properly, you need to understand how those websites work.

For the shake of simplicity fellow “pirates”, they utilize m3u wiki link

  • m3u8 99% of the time.

You will also need yt-dlp install it if you don’t have already

Example on utilizing this knowledge
  • Go to your favorite streaming site
  • Simple press F12
  • Go to Network
  • Select XHR (XMLHttpRequest)
  • Filter URLs for m3u8
    • If you find more than one, just test them out, you will soon find the trick on your own :)
  • Copy the URL
  • Open a terminal and type yt-dlp <your-copied-link>

Do it Ethically

Some may call us pirates, which I find really cool

But the true evil Pirates/criminals are the ones that keep the power to themselves and don’t share it with others

Information is the only true power, and it should be free(free as in free speech) for all.

Share your own tips & tricks in the comments if you want!

  • Soltros@lemmy.world
    link
    fedilink
    English
    arrow-up
    6
    ·
    1 year ago

    This doesn’t have to do with the topic at hand, but it’s just so cool being able to directly reference sites and ways to download on Lemmy, rather than dancing around the topic on Reddit.

      • Captain_Wtv@lemmy.ml
        link
        fedilink
        arrow-up
        1
        ·
        1 year ago

        It changed after they banned r/megalinks. I remember the day. The piracy sub purged content around that time. Then 2-3 years later the sports streaming subs went down.

    • dustojnikhummer@lemmy.world
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 year ago

      Until copyright owners start banging on providers of those who host these instances sadly. Give it a few years and we will be back there

  • NOOBMASTER@kbin.social
    link
    fedilink
    arrow-up
    5
    ·
    1 year ago

    I have VideoDownloadHelper addon for Firefox, and most of the time it works. There are some exceptions of course, where it cannot download the video. But I love finding out new ways to do it, in case the old ways fail one day. Good post, man!

    • equalszero@lemmy.dbzer0.comOP
      link
      fedilink
      arrow-up
      1
      ·
      edit-2
      1 year ago

      Thanks!

      It’s a must have add on, but it’s still just an add on, we should know the basics of what’s happening behind the scenes to sail the 7 seas.

      The reason I posted that is to inspire some of you in creating fancy scripts that can easily do more than just downloading one video.

  • roxy@lemmy.fmhy.ml
    link
    fedilink
    English
    arrow-up
    3
    ·
    1 year ago

    My fellow crewmen, yt-dlp is great but you don’t need it if you have vlc installed on your pc, you could just open Convert / Save function (Ctrl + R for shortcut), click the “Network” tab", paste the hls (m3u8) or dash (mpd) link and save it as you normally would.

    tab

  • Audalin@lemmy.world
    link
    fedilink
    English
    arrow-up
    2
    ·
    1 year ago

    Alternatively, ffmpeg -protocol_whitelist file,crypto,data,https,tls,tcp -stats -i <URL.m3u8> -codec copy <FILE.mp4>.

    Also, some m3u8’s are just files containing redirects to other m3u8’s in various resolutions. You might want to extract the one you need and download that.

    • Casta@lemmy.dbzer0.com
      link
      fedilink
      English
      arrow-up
      1
      ·
      edit-2
      1 year ago

      You are the only person legend who, with this command, has allowed me to download a video from a shitty website that “breaks” the movies/series into small pieces. THANK YOU

      EDIT: Movie, not Film

  • Prollol@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    1
    ·
    11 months ago

    @The person who said one can use VLC to download m3u8 links, I tried this multiple times already, but sadly the resulting files were never complete. Either the video was cut off or the audio missing or the like. I used VLC on Windows.

  • Astaroth@lemmy.world
    link
    fedilink
    English
    arrow-up
    0
    ·
    edit-2
    1 year ago

    Edit: It seems yt-dlp was at some point moved from AUR to Extra. I was half expecting it to happen eventually since youtube-dl stopped working about a year ago, but I never noticed it happening.

    Either way, as it’s a package on extra instead of AUR there’s a lot less of a security concern for anyone worried about that.

     

    Original comment:

    I have yt-dlp from the AUR (Arch User Repository). youtube-dl package also exists, and it’s on extra, but it stopped working about half a year ago

      • Astaroth@lemmy.world
        link
        fedilink
        arrow-up
        0
        ·
        edit-2
        1 year ago

        like I said only the original youtube-dl package is in extra but it stopped working a while back.

        since then I’ve been using the youtube-dl fork yt-dlp that OP mentioned, but it’s in aur atm since it hasn’t gotten as recognized as it’s a fork (I assume)

         

        Basically yt-dlp is a fork of youtube-dl, and unlike youtube-dl it’s in aur instead of extra.

        At least last I checked all youtube-dl forks are in aur, but you have to use yt-dlp (or maybe one of the other forks) since youtube-dl doesn’t work anymore.

    • adderaline@beehaw.org
      link
      fedilink
      English
      arrow-up
      0
      ·
      1 year ago

      you can download it from all linux package managers i’ve tried. not sure if linux counts as malware or not.

      • Protowalker@beehaw.org
        link
        fedilink
        English
        arrow-up
        0
        arrow-down
        1
        ·
        1 year ago

        Linux is definitely malware. I installed it and I haven’t been able to use my computer since