4 ms·
Sounds like the don't understand that official music and video content like rental films are DRMed - youtube-dl and other downloads error out when trying to dow
by shams93 3y ago
Sounds like the don't understand that official music and video content like rental films are DRMed - youtube-dl and other downloads error out when trying to download DRMed content.
- codetrotter 3y ago> youtube-dl and other downloads error out when trying to download DRMed content Can you give an example of a YouTube video where this happens? Take for example https://www.youtube.com/watch?v=E0ozmU9cJDg https://www.youtube.com/watch?v=E0ozmU9cJDg That's a video of a song from the channel of the band that killed the Napster P2P network and software back in the day. I hear that there is no problem downloading that song with yt-dlp. Likewise, https://www.youtube.com/watch?v=_FTATjvCJ-Q https://www.youtube.com/watch?v=_FTATjvCJ-Q That's a video with music from a YouTube channel owned by one of the most copyright lawyered cartoon companies in the world. They successfully made videos of a cartoon mouse stay protected after it was supposed to enter public domain. Yet, I hear that this video is also able to be downloaded without problem with yt-dlp. So when these videos are able to download without problem, idk what public videos on YouTube would not be able to be downloaded with yt-dlp.
- EGreg 3y agoAll those other ones you hadn’t mentioned. The true scotsman videos
- deleted 3y ago[deleted]
- netrus 3y agoPresumably those only accessibly with YouTube Music or for a fee (movie rentals).
- codetrotter 3y agoIdk, I don't use YouTube Music. Parent commenter said: > Sounds like the don't understand that official music and video content like rental films are DRMed And that's what I was responding to. Not YouTube Music. There are plenty videos with music from the original distributors, like those I linked above, on regular YouTube, and which as mentioned will be able to download with yt-dlp.
- antasvara 3y agoThe piece mentioning "rental films" leads me to believe they're referring to the paid content available on YouTube. Much like Amazon Video or other sites, YouTube allows movies to be rented or purchased. These are unable to be downloaded via programs like yt-dlp. This is not in reference to copyright. It's in reference to DRM, which isn't present on public videos (but seems to be present on purchased and rented videos).
- kmeisthax 3y agoThe official music industry position is that all YouTube content is DRMed, whether or not it invokes an EME decryption module, because the URLs are obfuscated. They've been trying to get YouTube downloaders banned for years now on that basis.
- bitwize 3y agoThe URL obfuscation probably counts as an "effective" copyright protection measure under the DMCA. YouTube download sites and tools are thus illegal.
- themerone 3y agoAs long as it can be copied from the URL bar, there is no copy protection.
- jffry 3y agoThe URL of the actual media files is different than the video ID in the URL
- bitwize 3y agoThere's some obfuscation going on fetching the actual audio and video, the URLs to which are never shown to the user. Those URLs are decoded with a bit of JavaScript. Youtube-dl (and yt-dlp) contain enough of a JavaScript interpreter to evaluate that JavaScript in order to decode the URL. Since the purpose of the obfuscated URLs and JavaScript is to gate access to the video and audio through a browser hitting the YouTube site where they can't be saved, this scheme constitutes an "effective" copy protection measure. Bypassing this gating mechanism is thus circumvention, illegal under the DMCA.
- aprilllll 3y agoSurprisingly enough, it's even simpler than that. You can trivially access a direct URL that serves the entire video or audio (they're served as different files). Just open up DevTools, look for requests to googlevideo.com, find the request with the video or audio (i.e. content-type response of either video/mp4 or audio/webm), copy the entire request URL, remove the range parameter entirely, open the link, and voila!
- gwd 3y agoFWIW I've never seen this happen. In fact, I've handed Youtube Music URLs to yt-dlp and so far haven't had any problems downloading the content. (Admittedly I don't do this often; but at least one of the things I downloaded was a soundtrack by Disney, whom I'd expect to be more strict about this sort of thing.)
- jeroenhd 3y agoyoutube-dl will error out. yt-dlp works differently, and works with more videos. I believe youtube-dl simulates the browser Javascript client and yt-dlp emulates the Android client, though I'm not 100% sure of the modern workings.
- midoridensha 3y agoyoutube-dl is not really developed any more. yt-dlp is the program everyone should be using.
- mvdtnz 3y agoI have a script that uses ytdlp to download every item on a Youtube Music playlist I maintain so sync mp3's to my watch. I have never seen it error out from DRM.