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!
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.
This is what Reddit was like in the golden era, ~2010-2014ish
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.
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!
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.
You are the only
personlegend who, with this command, has allowed me to download a video from a shitty website that “breaks” the movies/series into small pieces. THANK YOUEDIT: Movie, not Film
@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.
There is also yt-dlg, one of the frontends for youtube-dl or yt-dlp.
Xtreme Download Manager lets you do this with ease (and more) and can check for the latest yt-dlp version before downloading on its own.
MPC-HC lets you play and download YouTube videos using yt-dlp.
Thanks for tutorial
This works only for websites that don’t use DRM, such as Widevine. But there’re guides to decrypt the videos anyways. Tough luck with Widevine L1 tho.
Any website? Including all the streaming services like Netflix, Disney+, etc?
They have a lot of good tools and guides for getting setup to pull drm encrypted streams. You’ll need access to an android device that has root to be able to pull drm keys from. It took me a bit to figure out how to get it setup. They had to remove the all in one setup page so the software is outdated but I followed this (https://web.archive.org/web/20230315101847/https://cdm-project.com/cdm-tools/how-to) and just searched for the latest versions of the software they reference and got it working to download off disney+ and wowpresentsplus
Is there any way to save this post for later?
deleted by creator
@Astaroth, why do you use yt-dlp from aur if it is also in
extra
repository?deleted by creator
You are wrong. https://archlinux.org/packages/extra/any/yt-dlp/ yt-dlp is in the extra repository (has been for a long time now) as they said. No need to install it from the AUR
deleted by creator
Don’t sweat it bro