I really expect a massive Streisand effect on this one. I suspect a bunch of people have copies of the source code and it's under public domain, there's gonna be new copies of the repo on many different git sites and it's gonna become a whack-a-mol for RIAA...
I'm more concerned about what this implies for the development of the library. It's in a constant arms race with YouTube and other sites to remain working, and winning that arms race is only possible with many people actively working on the project at all times.
If it's not hosted on GitHub, or any other major repo host, then it will be harder to coordinate development efforts and attract contributions from the public, likely slowing down development.
Yeah, it's gonna be harder to develop if not on a major repo site, but the whole point of git is to be a distributed system, people will overcome this - at least I hope, it's an awesome tool worth saving.
Even if the actual code goes away, it's not like downloading a YouTube video is rocket science. The site's whole purpose is to send video to your computer. All you need to do is make the computer hold on to it.
There will always be loopholes to even the most agressive tech-enforced lockdowns. Download OBS, record or restream the viewport of the youtube video and you got the original copy ready to recompress, repost/share elshere.
The problem is different. You can get the copy, but maintenance will definitely suffer when youtube or some of the supported site break that last currently working way of download.
Given that the source is available in the form of torrents. What stops the github repo of being a just series of patch files? They can't reasonably DMCA code transformations, can they?
The DMCA needs reform in the HTTPS era and the RIAA is the most complete collection of out of touch old cunts that need to disappear.
Here in Portugal we've got the SPA (Portuguese author's society) who managed to get a tax on everything that has storage, because it may be used for piracy.
The DMCA makes it illegal (in the United States) to write or distribute programs whose primary purpose is to facilitate copyright infringement. (It's also illegal to promote the copyright-infringing use of an otherwise legal program.)
The "primary purpose" bit is key here. If you can show that your software has many purposes, like an operating system would, you shouldn't be subject to this provision of the DMCA.
The RIAA's lawyers are arguing in their takedown notice that youtube-dl's primary purpose is to circumvent measures that YouTube has in place to prevent unauthorized distribution of copyrighted material. Their position is bolstered by the fact that some of the examples in the youtube-dl documentation specifically show how to download content whose copyright is owned by corporations represented by the RIAA.
Note that the DMCA basically says the hosting service (GitHub here) has to take down material when it receives a notice of this sort. The remedies available to the repository owner are basically to file a counter notice (which GitHub at least makes easy to do) and, if they suffered any loss from the takedown, to sue the people who sent the notice (the RIAA) in court. That ends up heavily stacking the deck in favor of large, moneyed interests like the RIAA.
RIAA is on a roll. First going after Twitch streamers causing decades of VODs to be deleted (either by Twitch or the streamers themselves), now Youtube-dl. ...what does RIAA/MPAA really bring to the table these days? All it seems to be is anti-consumerism with cobwebs from not being able to adapt to technology. I'd gladly pay a few bucks a month if it meant these scumbags would get dissolved.
The problem is that it is becoming increasingly difficult to purchase music without streaming services. Streaming services have ruined it for me, I want to play offline music in my car but all my favourite artists have stopped selling CDs I can rip (for personal use) and stopped selling downloadable music, moving it all to monthly streaming services. RIAA don't realise they have caused this themselves. So I use youtube-dl sometimes to download stuff as it's the only way besides torrents to get offline music.
This. The entertainment industry doesn't realize that most people are completely willing to pay for music, movies, TV shows, video games, books, you name it. That is, as long as it's convenient. Don't take away my options. Don't force me to get a subscription when I want to buy or rent a single thing. Don't use DRM so restrictive that I can't use stuff offline or on my Linux laptop. That is the bullshit that drives people to piracy.
We also note that the source code prominently includes as sample uses of the source code the downloading of copies of our members’ copyrighted sound recordings and music videos, as noted in Exhibit A hereto.
Seems like a bad idea to use music videos as the examples. Hopefully this is sorted out as youtube-dl is an incredibly valuable tool.
As of right now, the repo is locked and inaccessible on GitHub.
As a former maintainer of youtube-dl, I sincerely hope that somebody rescues the project, removing the offending code – it's a very small part of the whole project after all, not worth the trouble.
As I'm currently being sued facing legal action about my involvement (despite it ending a long time ago) and have plenty of other open-source projects deserving love, I'm sad it can't be me.
I still don't understand why this is legitimate. You don't infringe any copyrights with the code itself right? The users may do so, by downloading stuff and redistributing it, but that's another story or am I wrong? Even if you download videos as a test case, you neither show it's content nor redistribute it. So IMO that should definitely fall under fair use.
A couple of weeks ago, I got a cease-and-desist letter. As I have been just a contributor to unrelated parts of the code for years now and other people are maintaining the project and youtube extractor, I signed it in a modified form, basically saying that I would not do anything illegal (which I never intended).
I don't know whether further action will be taken against me; my lawyer is talking to their lawyers.
If they're suing you, you should get a lawyer if you haven't already, and then consult them about what you should or should not post about active litigation. As in, you may want to refrain from posting more about it.
Unfortunately the owner of the repository might not want to risk fighting a lawsuit.
Even though the argument seems to hinge on it enabling piracy - much like torrenting software, or indeed even browsers and operating systems - the music industry can throw more at lawyers than some code hobbyist.
circumventing a technological measure that effectively controls access to copyrighted sound recordings on YouTube, including copyrighted sound recordings owned by our members. For further context, please see the attached court decision from the Hamburg Regional Court that describes the technological measure at issue (known as YouTube’s “rolling cipher”)
This is the stupidest thing ever. Well, ok so it's 2020 so maybe it's not quite at that bar.
Youtube-dl is a client-side application. It does nothing that the server (like youtube) doesn't provide. When a client connects and streams data, the data becomes available to the consumer's machine. Youtube-dl just takes that data and slightly modifies it to make it nice and reusable.
If youtube-dl goes down, there will be a billion more to replace it.
They should also ban web browsers because they can be used to access copyrighted content. Oh, and they should ban speakers because they can play copyrighted content aloud!
The Hamburg court is the place to go to for some lawyers that specialize in tracking downloaders and sharers. IIRC the use of honeypots is also allowed. And those lawyers act on their own.
Found a clone that was up to date as of today. It might have been missed because it is not a fork. Grab it while its hot! (Edit: Looks like it was created today as a mirror)
The maintainer of the fork is actively updating the repo as we speak, with some verbiage changes on the readme pertaining to using it to circumvent copyright. Literally changed it less than 10 minutes ago.
... The clear purpose of this source code is to (i) circumvent the technological protection measures used by authorized streaming services such as YouTube, and (ii) reproduce and distribute music videos and sound recordings owned by our member companies without authorization for such use. We note that the source code is described on GitHub as “a command-line program to download videos from YouTube.com and a few more sites.” ...
Remember that the RIAA is a strong-arm and bad-publicity-deflection cartel of its major members. These are:
Sony / Sony Music
Universal Music
Atlantic Records
Disney
Exceleration Music
Interscope Geffen A&M
Nonesuch Records
Partisan Records
Provident Music
Sire Records
Tommy Boy
Warner Music
Strategically / tactically, the most interesting aspect of this attack is that it puts Microsoft on notice to show its true colours. Is it Friend of Free Software, or Copyright Maximalist?
Strategically / tactically, the most interesting aspect of this attack is that it puts Microsoft on notice to show its true colours. Is it Friend of Free Software, or Copyright Maximalist?
Does it? As far as DMCA goes, Microsoft/GitHub has no horse in this race. youtube-dl owners file a counter-notice, Microsoft/GitHub put it back up in 10-14 days, the rest of it moves to court/lawsuit. Microsoft/GitHub actually can't do anything under DMCA as they are operating purely as the service provider.
If YouTube's obfuscation of video URLs constitutes a technical protection measure than why the hell did we let Netflix pump their shitty DRM into HTML5 when this is good enough?
God fucking damn it, RIAA. Have you learned nothing? If people want a copy of some music, they're going to get a copy of that music. You're not stopping anything, and in fact just wasting money and time. Go disband, fuckin' leeches.
Fuuuuuuuuck!!! youtube-dl is one of my most favorite apps that exist. It's a dumb name, because it doesn't only download from YouTube -- it also downloads from a metric shitton of other sites too. And for all of these, there's no DRM that's being cracked. It's just standard video streaming technology. Such bullshit.
I really hope that this project doesn't die. It's too useful to save backup recordings for it to die.
Sony Corp. of America v. Universal City Studios, Inc., 464 U.S. 417 (1984), also known as the “Betamax case”, is a decision by the Supreme Court of the United States which ruled that the making of individual copies of complete television shows for purposes of time shifting does not constitute copyright infringement, but is fair use. The Court also ruled that the manufacturers of home video recording devices, such as Betamax or other VCRs (referred to as VTRs in the case), cannot be liable for infringement. The case was a boon to the home video market, as it created a legal safe haven for the technology.
The youtube-dl has a lot of non-infringing applications, including:
Lawyers or police can use the application to archive evidence.
Videos that are released with a Creative Commons License are not protected
Downloading videos that are too old to be covered by copyright law do not infringe copyright
Videos are often created by the government with no restrictions
Creators can use the program to back up copies of their videos in case of a computer failure
Users who have a "sanctioned use" such as criticism, satire, use for learning by students can use the application to get the contents to work with.
I understand why RIAA is taking this action, because Google recently deactivated Google Music, and now YouTube Music is Google's only music platform. I am not a lawyer, but given the precedent of the Universal-Sony video recorder case, I am not sure if they have a winning legal argument in the USA. It makes as much sense as going after the manufacturer of cooking knives if a angry guy uses a cooking knife in the commission of an illegal activity.
I have a Creative SoundBlaster analog to digital convertor that could be used to record the soundtrack of YouTube videos. Are they going to go after AD converter manufacturers too?
Before covid, our county commissioners were streaming meetings on Youtube; now pretty much all local bodies, including churches, have been livestreaming to encourage social distancing. Youtube-dl was a wonderful utility to allow saving and sharing with others with spottier rural Internet.
Completely non-infringing.
But lets throw the baby out with the bath water because UMG thinks someone is voluntarily watching Taylor Swift. Or, for that matter, a one-hit wonder group from 2009. The RIAA needs to choke on a whole bag of dicks.
This is why open source projects should be syndicating their repos across hosts. I've started to do so for my own projects (by including multiple remotes in my repos, such that every git push pushes to all of 'em at once).
Identical functionality could come from a modified browser, viewing the video on Youtube.com, and saving the incoming data. Unless the RIAA is arguing that saving a file they sent you is piracy - fuck off.
Next thing they’ll do is try to shut down inspect mode on your browser because it shows where the temp video files are on your own pc that contain the videos.
Fork bomb and remove any association with the original maintainer. Don't fork with your main github account to prevent cooky shit like getting banned. Fork to different git repos as well: gitlab or whatever. Contact people in "less lawful" countries / nations: Christmas island, zimbabwe, israel, china to get several points of hosting going. Do not host in the USA or Germany. If you're in any way affiliated with ytdl drop any forks you have on your main account and create shadow accounts to continue maintaining.
Push the point that ytdl is used for archiving and historical purposes only. There are hundreds of free, open sourced videos on youtube that literally have no copyrights on them. The destruction of an "archival tool" for said videos does not in any way, shape or form reduce the amount of copyright infringement when compared to other youtube-video-downloading tools which are available from Google right now.
Do not under any circumstance believe that this is the "end of ytdl". This is the loser-mentality that these companies hope for when sending these threat letters. Kazaa and other p2p networks had to deal with the same garbage and a bunch of them are still around today.
Don't forget to purchase a license for the use of the Latin alphabet with that pen. The Alphabet is among the most powerful tools for copyright infringement invented in human history, and therefore its use is strictly controlled by rights holders.
To expand on this, a company is required by law to take the content down, even if the DMCA claim isn't legitimate. That is the compromise given to them in exchange for them not being liable for when a user uploads copyrighted content to their site.
Are you honestly surprised that GitHub has to comply with legal takedown notices?
This is less of a problem than the services who dominate particular roles (GitHub, YouTube, etc) not putting up any fight when asked to do something by rightsholding companies. They've found its in their commercial interest to offer no resistance, ensuring every dispute is one-sided.
The result is that the scope of rights claimed by rightsholding companies has expanded far beyond that merely permitted by law. YouTube is so permissive that even people with no legitimate ownership interest are able to make a business out of fraudulent revenue share claims.
The system must be changed, to prohibit de facto monopoly service providers from surrendering their customers so quickly, perhaps requiring a court order to terminate the services of a tenant.
This is less of a problem than the services who dominate particular roles (GitHub, YouTube, etc) not putting up any fight when asked to do something by rightsholding companies. They've found its in their commercial interest to offer no resistance, ensuring every dispute is one-sided.
Because THEY CAN'T. By US law YOU HAVE TO TAKE IT DOWN, EVEN IF IT'S FALSE. Even if you dispute the DMCA notice, while it's being disputed, the content must be taken down.
There is nothing Github or youtube can do about it. Complain to Congress.
Not really GitHub have to taken it down if they are served with a valid notice to maintain their DMCA safe harbour. The authors are free to file a counter notice with GitHub who will reinstate the repo. Any US based company would have to do the same, even if you're not US based one of your suppliers will be (AWS, Azure, GCP, DNS, transit provider etc).
Hm, would a fork that disabled youtube, but retained other websites still be allowed on github I wonder? youtube-dl is plenty useful for other sites too.
This seems like a huge stretch because it assumes that literally everything on YouTube is copyright protected. And there are plenty of open source royalty free music and video sources on YouTube.
However, the fact that YouTube-dl is designed to circumvent the website itself is where there may be problems.
See WoWGlider vs Blizzard. WoWGlider was third party software you ran on your own PC and it was designed to circumvent Blizzards software. The courts sided with Blizzard.
Unfortunately the reality these days is that companies have far reaching say into how you use their product on your own private property.
The actual content of the legal argument being made by the RIAA in this and associated documents is lying by omission at best, and arguably is straight up perjury.
The only concrete circumvention they level at youtube-dl is that it "circumvents YouTube’s rolling cipher". I looked into this more, and before I go into how totally bulshit it is that they've apparently conned judges into believing this, you should read their full accusation (or just read the full DMCA letter from the RIAA):
For further context, please see the attached court decision from the Hamburg
Regional Court that describes the technological measure at issue (known as
YouTube’s “rolling cipher”), and the court’s determination that the technology
employed by YouTube is an effective technical measure within the meaning of EU
1 See https://github.com/ytdl-org/youtube-dl/blob/master/README.md#readme.
and German law, which is materially identical to Title 17 U.S.C. §1201 of the
United States Code. The court further determined that the service at issue in
that case unlawfully circumvented YouTube’s rolling cipher technical
protection measure.2 The youtube-dl source code functions in a manner
essentially identical to the service at issue in the Hamburg Regional Court
decision. As there, the youtube-dl source code available on Github (which is
the subject of this notice) circumvents YouTube’s rolling cipher to gain
unauthorized access to copyrighted audio files, in violation of YouTube’s
express terms of service,3 and in plain violation of Section 1201 of the
Digital Millennium Copyright Act, 17 U.S.C. §1201.
So that's what the RIAA is saying that youtube-dl is doing. However, they're referencing a document that I presume was attached to their original email, the document from the Hamburg Regional Court, but we don't have that email, as Github didn't publish that document for us to see.
So I went looking, and it turns out that the RIAA has used this exact same excuse to go after some other people, their documents are available, and we can see more of what they wrote. I'm referencing this[1] document which I found through this[0] blog post about a 2016 case where the RIAA went after an online service called TYMP3. Here are the links, and here's what the RIAA said:
< The following is found on page 8 of the PDF linked above >
39. Plaintiffs are informed and believe, and on that basis allege as follows:
YouTube has adopted and implemented technological measures to control access to
content maintained on its site and to prevent or inhibit downloading, copying,
or illicit distribution of that content. YouTube maintains two separate URLs
for any given video file: one URL, which is visible to the user, is for the
webpage where the video playback occurs, and one URL, which is not visible to
the user, is for the video file itself. The second URL is generated using a
complex (and periodically changing) algorithm - known as a “rolling cipher” -
that is intended to inhibit direct access to the underlying YouTube video
files, thereby preventing or inhibiting the downloading, copying, or
distribution of the video files.
< further down, on page 12, they lay out their accusation >
Among other things, Plaintiffs are informed and believe, and on that basis
allege, that YTMP3 employs a means to circumvent the YouTube rolling cipher
technology described above, and other technological means that YouTube employs
to protect content on its site.
So, let's go see what the Youtube-dl source code actually is doing. The tl;dr version is that youtube does some slight rearranging of the characters in the URL of the remote resource, but they also supply you with the JS code to un-arrange that code into the actual working "signature" which you can use to request the video from youtube. So youtube-dl downloads the rearranged URL, and the JS that youtube provides, and uses a Python implementation of the JS interpreter to run YOUTUBE'S OWN JS THAT YOUTUBE SENT US IN CLEARTEXT TO FIGURE OUT HOW TO DOWNLOAD THE VIDEO. See the source code (hosted on gitlab for now, hopefully that stays up):
So to summarize, youtube creates two URLs: one that's a public video URL, and one that's the URL to the actual video content. The URL to the video content changes on a rolling basis, and is slightly rearranged. All that's true. However, what the RIAA is avoiding saying, and which completely changes the context of this discussion is:
YOUTUBE SENDS YOU BOTH URLS IN CLEARTEXT, AND INCLUDES THE CODE FOR HOW TO DOWNLOAD THE VIDEO, SO YOU AND YOUR WEB BROWSER CAN DOWNLOAD THE VIDEOS WITHOUT USING ANY ENCRYPTION/DECODING.
So when a judge asks "how is it that you're getting around this 'rolling cipher' to access the video?" all you have to say is "Youtube told me where to download the video, so I followed Youtube's instructions and downloaded it from the URL that Youtube gave me."
Frankly, I'm amazed that any judge, or any lawyer, would ever lay out or believe such bare faced lies as is being spouted by the RIAA in this document.
How am I expected to download pornhub videos now? Outside the command line like a commoner!?!
I'm joking, I tried it once just to see how easy the process was. The app impressed me. I never actually downloaded youtube before since I rather have high quality music files. I still have a PC with a disc drive to extract audio.
If there's one thing I've learnt about the internet is that if you try to fuck with open-source, they're going to make it 50 times easier to find the code in question.
I know it might be shocking for some people, but not everyone is consuming netflix, facebook and shitty american pop music 24/7. I couldn't care less about it. If I wanted to download it, I'd use torrents for better quality. And like any sane person, I use an adblocker, so even if I'd "properly" use a web browser to access it through youtube, it's not like they would make a single cent of me anyways.
I use youtube-dl daily to archive stuff and watch videos in a lightweight video player, because I don't want to use the bloated mess that the youtube website is.
Since the stuff goes down so often, archiving tools like youtube-dl and web archives are in my opinion the most important pieces of software in this day and age. And I really don't care if the existence of these tools is making some corporations or record labels lose money.
Strategically / tactically, the most interesting aspect of the RIAA attack on youtube-dl to me is that it puts Microsoft on the spot to show its true colours. Is it Friend of Free Software, or Copyright Maximalist?
Why? I use it on a daily basis to download videos from YouTube. It does the same thing that web browsers do. With this logic they should also ban web browsers.
YouTube started out as a service to record Your life. That's what "You" in youtube is supposed to mean. Now it has been ruined by greedy money minded people who think they can exist without the people.
So they allow say, chrome to download videos for watching but not a client like youtube-dl. So what exactly is a 'web browser'? If I use curl on some youtube resource, I'm infringing copyright?
for the purpose of circumventing YouTube’s technological measures
By what? Using web standards and technologies implemented by literally every browser and promulgated by widely respected standards bodies that made the internet and the web possible?
Eat me. This is like the RIAA suing Sony for making combo radio/cassette tape players with a "record" function.
Umm that’s exactly why they choose 451 the code for “unavailable for legal reasons”, ie but the one entity that sets laws: government.
Acknowledgements
Thanks to Terence Eden, who observed that the existing status code 403 was not really suitable for this situation, and suggested the creation of a new status code.
Beatty goes on a whole spiel, in the middle of the book, about the burnings being a result of democracy. The masses don't like x of y, so you get rid of them, in a slow spiral down to "don't make me think."
It is the government doing the burnings, but it's not an authoritarian situation so much as tyranny of the majority.
I think that's getting a little too segmented. I appreciate that there's a status code for this purpose, but I don't think it makes sense to have one code for "unavailable for government-related legal reasons" and a separate code for "unavailable for non-government-related legal reasons".
On the website, maybe. With the git command line tool, GitHub first asks me for a username/password (didn't use to before), then I get 403/Forbidden:
~/git/youtube-dl $ git pull
Username for 'https://github.com': *****
Password for 'https://*****@github.com':
remote: Repository unavailable due to DMCA takedown.
remote: See the takedown notice for more details:
remote: https://github.com/github/dmca/blob/master/2020/10/2020-10-23-RIAA.md.
fatal: unable to access 'https://github.com/ytdl-org/youtube-dl.git/': The requested URL returned error: 403
Last pull was on Sept 28, so I'm somewhat out of date, but not too much.
(Click on the green 'Code' drop down menu above the file list to the right side, and select 'Download Zip'.)
As a last resort (if the above two get taken down), if you have it installed, you can just make a backup copy of its currently installed files. Since it's a Python program, its installed files include the entire source code.
If you are on Linux, this can be pretty easy to do with the help of your package manager. First, look up the command to list files owned by a given package for your package manager (For example, on ArchLinux, it'd be pacman -Qlq youtube-dl), then you can back them up like this:
Which backs up all of the packages' files into a directory called youtube-dl in the current directory. (You will need to install rsync for this method if it's not already on your system.)
Edit: For Windows users, I took a look at the contents of the Windows .exe file (from the Wayback Machine repo), and it looks like its contents are all compiled files (with .pyo and .pyd extensions) - no source code.
If the source code becomes inaccessible from the above links, it may still be possible to obtain it from Linux distro repositories. A few quick links:
https://packages.debian.org/bullseye/youtube-dl (Download link is at the bottom; it's called "all" under the "Architecture" column. After clicking it, select one of the mirrors to download.)
I believe that was one of the arguments that was made during the congressional hearings that ended up with the 'copy bit', except the argument made then was that audio cassettes would never have been invented.
They fought for years to ban the VCR. In 1982, MPAA head Jack Valenti testified to Congress that "the VCR is to the American film producer and the American public as the Boston strangler is to the woman home alone."
I have always felt that with the advent of all of this new technology that allows people to tape the 'Neighborhood' off-the-air ... they then become much more active in the programming of their family’s television life. Very frankly, I am opposed to people being programmed by others. My whole approach in broadcasting has always been ‘You are an important person just the way you are. You can make healthy decisions’ ... I just feel that anything that allows a person to be more active in the control of his or her life, in a healthy way, is important.
1.6k
u/thataccountforporn Oct 23 '20
I really expect a massive Streisand effect on this one. I suspect a bunch of people have copies of the source code and it's under public domain, there's gonna be new copies of the repo on many different git sites and it's gonna become a whack-a-mol for RIAA...
446
u/[deleted] Oct 23 '20 edited Oct 24 '20
The DMCA needs reform in the HTTPS era and the RIAA is the most complete collection of out of touch old cunts that need to disappear.
That said, youtube-dl using copyrighted music in its
examplesunit tests is apocalyptically stupid.485
u/Glacia Oct 23 '20
How is this legal? By that logic using Windows is illegal because you can download anything with it.
1.1k
u/SidewaysGate Oct 23 '20
It's client side? It's mine. Fuck your shit. Fuck your couch. It ran through my computer. Get your filthy hands off me.
Fuck the RIAA.
110
u/[deleted] Oct 23 '20
RIAA is on a roll. First going after Twitch streamers causing decades of VODs to be deleted (either by Twitch or the streamers themselves), now Youtube-dl. ...what does RIAA/MPAA really bring to the table these days? All it seems to be is anti-consumerism with cobwebs from not being able to adapt to technology. I'd gladly pay a few bucks a month if it meant these scumbags would get dissolved.
33
u/Shiitty_redditor Oct 23 '20
How coincidental this happens the day after google play music dies..
220
u/robvdl Oct 23 '20 edited Oct 23 '20
The problem is that it is becoming increasingly difficult to purchase music without streaming services. Streaming services have ruined it for me, I want to play offline music in my car but all my favourite artists have stopped selling CDs I can rip (for personal use) and stopped selling downloadable music, moving it all to monthly streaming services. RIAA don't realise they have caused this themselves. So I use youtube-dl sometimes to download stuff as it's the only way besides torrents to get offline music.
126
u/mobyte Oct 23 '20
Copyright in the US is a fucking travesty and is going to implode on itself sooner or later.
502
u/AggravatingReindeer8 Oct 23 '20
You can still download it from PyPi so looks like the RIAA don't understand Python, yet.
archive.org link: https://web.archive.org/web/20201018144703/https://github.com/ytdl-org/youtube-dl (thanks to Hacker news user
jaspergilley)991
u/[deleted] Oct 23 '20
Seems like a bad idea to use music videos as the examples. Hopefully this is sorted out as youtube-dl is an incredibly valuable tool.
As of right now, the repo is locked and inaccessible on GitHub.
201
u/hrpeanut Oct 23 '20
This is the stupidest thing ever. Well, ok so it's 2020 so maybe it's not quite at that bar.
Youtube-dl is a client-side application. It does nothing that the server (like youtube) doesn't provide. When a client connects and streams data, the data becomes available to the consumer's machine. Youtube-dl just takes that data and slightly modifies it to make it nice and reusable.
If youtube-dl goes down, there will be a billion more to replace it.
25
u/[deleted] Oct 23 '20
Gitee, Chinese based git. Let America try to DMCA it. laughs in President Xi.
40
u/lood9phee2Ri Oct 23 '20
Shrug. Intellectual monopoly is a fucking stupid ideological mistake the west has made. We need to abolish copyright and patent entirely.
616
u/timsredditusername Oct 23 '20
So, the RIAA is leveraging a regional German court decision to apply to US law?
We'll see how that one plays out.
729
u/MotorolaDroidMofo Oct 23 '20 edited Oct 23 '20
"Thank God the RIAA exists"
— No one ever
144
u/issaaccbb Oct 23 '20
Found a clone that was up to date as of today. It might have been missed because it is not a fork. Grab it while its hot! (Edit: Looks like it was created today as a mirror)
https://github.com/l1ving/youtube-dl
Credit to the person who actually found it
https://www.reddit.com/r/DataHoarder/comments/jgtzum/youtubedl_repo_had_been_dmcad/g9sihvy?utm_source=share&utm_medium=web2x&context=3
62
u/dredmorbius Oct 23 '20
The notice, in part:
https://github.com/github/dmca/blob/master/2020/10/2020-10-23-RIAA.md
Various coverage, discussion, and related topics
Micah F. Lee (EFF/The Intercept @micahflee@mastodon.social https://nitter.net/micahflee/status/1319746131723628544?ref_src=twsrc%5Egoogle%7Ctwcamp%5Eserp%7Ctwgr%5Etweet
"RIAA blitz takes down 18 GitHub projects used for downloading YouTube videos" https://www.zdnet.com/article/riaa-blitz-takes-down-18-github-projects-used-for-downloading-youtube-videos/
HN discussion: https://news.ycombinator.com/item?id=24872911
Reddit: https://old.reddit.com/r/programming/comments/jgub36/youtubedl_just_received_a_dmca_takedown_from_riaa/ https://old.reddit.com/r/DataHoarder/comments/jgtzum/youtubedl_repo_had_been_dmcad/ https://old.reddit.com/r/linux/comments/jgubfx/youtubedl_github_repo_taken_down_due_to_dmca/ https://old.reddit.com/r/youtubedl/comments/jgttnc/youtubedl_github_repository_disabled_due_to_a/
Reddit search: https://old.reddit.com/r/dredmorbius/search/?q=youtube-dl+dmca&sort=relevance&t=all
Nitter/Birbsite: https://nitter.net/search?f=tweets&q=youtube-dl+riaa+dmca&since=&until=&near=
Censorship, propaganda, surveillance, and targeted manipulation are inherent characteristics of monopoly: https://joindiaspora.com/posts/7bfcf170eefc013863fa002590d8e506 (my own recent realisation).
RMS, "The Right to Read" (1997): https://www.gnu.org/philosophy/right-to-read.en.html
Remember that the RIAA is a strong-arm and bad-publicity-deflection cartel of its major members. These are:
Strategically / tactically, the most interesting aspect of this attack is that it puts Microsoft on notice to show its true colours. Is it Friend of Free Software, or Copyright Maximalist?
39
u/PoeT8r Oct 23 '20
RIAA is a racket.
36
u/kmeisthax Oct 23 '20
If YouTube's obfuscation of video URLs constitutes a technical protection measure than why the hell did we let Netflix pump their shitty DRM into HTML5 when this is good enough?
36
u/happyscrappy Oct 23 '20
Courts have in the past already ruled that source code does not constitute a "device" and so is not subject to DMCA takedown.
I thought this happened with x264 but maybe I'm mistaken?
35
u/Feynt Oct 23 '20
God fucking damn it, RIAA. Have you learned nothing? If people want a copy of some music, they're going to get a copy of that music. You're not stopping anything, and in fact just wasting money and time. Go disband, fuckin' leeches.
32
u/amroamroamro Oct 23 '20
https://torrentfreak.com/theres-a-hidden-proxy-war-between-youtube-and-stream-rippers-201020/
32
u/Green0Photon Oct 24 '20
Fuuuuuuuuck!!! youtube-dl is one of my most favorite apps that exist. It's a dumb name, because it doesn't only download from YouTube -- it also downloads from a metric shitton of other sites too. And for all of these, there's no DRM that's being cracked. It's just standard video streaming technology. Such bullshit.
I really hope that this project doesn't die. It's too useful to save backup recordings for it to die.
What the fuck.
52
u/msleaveamix Oct 23 '20
This is totally absurd...
17
u/paulaumetro Oct 24 '20 edited Oct 24 '20
Sony Corp. of America v. Universal City Studios, Inc.
The youtube-dl has a lot of non-infringing applications, including:
I understand why RIAA is taking this action, because Google recently deactivated Google Music, and now YouTube Music is Google's only music platform. I am not a lawyer, but given the precedent of the Universal-Sony video recorder case, I am not sure if they have a winning legal argument in the USA. It makes as much sense as going after the manufacturer of cooking knives if a angry guy uses a cooking knife in the commission of an illegal activity.
I have a Creative SoundBlaster analog to digital convertor that could be used to record the soundtrack of YouTube videos. Are they going to go after AD converter manufacturers too?
16
u/northrupthebandgeek Oct 23 '20
This is why open source projects should be syndicating their repos across hosts. I've started to do so for my own projects (by including multiple remotes in my repos, such that every
git pushpushes to all of 'em at once).30
u/bcroq Oct 23 '20
When they find that the web browsers have to download the video so we can watch it, will they also try take them down?
24
u/mindbleach Oct 23 '20
Public videos are broadcasting.
This is a VCR.
Identical functionality could come from a modified browser, viewing the video on Youtube.com, and saving the incoming data. Unless the RIAA is arguing that saving a file they sent you is piracy - fuck off.
15
u/maledorak Oct 23 '20 edited Oct 24 '20
I found few forks with full history and tags from yesterday (10/23/2020)
https://github.com/marzzzello/youtube-dl
https://github.com/koalp/youtube-dl
https://github.com/r4rdsn/youtube-dl
https://git.osuv.de/star/youtube-dl
https://gitee.com/mirrors/youtube-downloader
22
u/zweta1 Oct 23 '20
Just found another tool called youtubedr. It's written in golang. It's available on Termux's apt repository.
22
u/telionn Oct 23 '20
This isn't a DMCA takedown. It's a cease and desist letter citing the DMCA.
The difference matters. GitHub is required to honor DMCA takedowns. Other legal requests are granted on a case by case basis.
10
u/[deleted] Oct 24 '20
Next thing they’ll do is try to shut down inspect mode on your browser because it shows where the temp video files are on your own pc that contain the videos.
8
u/bpiel Oct 23 '20 edited Oct 24 '20
https://web.archive.org/web/20200923164521/https://github.com/ytdl-org/youtube-dl/archive/2020.09.20.tar.gz
http://billpiel.com/youtube-dl-2020.09.20.tar.gz
EDIT:
https://l1ving.github.io/youtube-dl/
https://bitbucket.org/bpiel/youtube-dl/src/master/
https://github.com/bpiel/youtube-dl
8
u/[deleted] Oct 24 '20 edited Oct 24 '20
Fork bomb and remove any association with the original maintainer. Don't fork with your main github account to prevent cooky shit like getting banned. Fork to different git repos as well: gitlab or whatever. Contact people in "less lawful" countries / nations: Christmas island, zimbabwe, israel, china to get several points of hosting going. Do not host in the USA or Germany. If you're in any way affiliated with ytdl drop any forks you have on your main account and create shadow accounts to continue maintaining.
Push the point that ytdl is used for archiving and historical purposes only. There are hundreds of free, open sourced videos on youtube that literally have no copyrights on them. The destruction of an "archival tool" for said videos does not in any way, shape or form reduce the amount of copyright infringement when compared to other youtube-video-downloading tools which are available from Google right now.
Do not under any circumstance believe that this is the "end of ytdl". This is the loser-mentality that these companies hope for when sending these threat letters. Kazaa and other p2p networks had to deal with the same garbage and a bunch of them are still around today.
14
u/froggie-style-meme Oct 23 '20
Did they really just copyright software that wasn't even intended to rip their shit?
7
u/theephie Oct 23 '20
The top comment should be link to a mirror.
So does anyone have a recent clone of the repository?
7
u/Serialk Oct 23 '20
Backup archived by Software Heritage: https://archive.softwareheritage.org/browse/origin/directory/?origin_url=https://github.com/ytdl-org/youtube-dl
7
u/greenlanternfifo Oct 24 '20
absolute bullshit. i use it to archive tutorials, documentaries, and just non-profit content. These kinds of videos go down all the time.
7
u/[deleted] Oct 24 '20
Fuck the RIAA
12
u/DarkyHelmety Oct 23 '20
By that logic pens should be illegal as they can be used to transcribe copyrighted works. SMH, what a disgrace.
6
u/DrakenZA Oct 24 '20
Look kids, another crusty old entity trying to misuse a terribly written and out of date DMCA laws.
6
u/llimiagu_espacial Oct 24 '20
People who actually used youtube-dl to download Shake it Off of Taylor Swift should be in prison and not the guy who wrote the code
50
u/[deleted] Oct 23 '20
For me, this is the death of github
Free and open source software my ass
Whats next, the software I need to run DVDs on linux? Is that still on github?
When well they ban the kernel?
14
u/longcat2001 Oct 23 '20 edited Oct 23 '20
(both links in German)link to a – maybe the – decision from the Hamburg Regional Court: http://www.rechtsprechung-hamburg.de/jportal/portal/page/bsharprod.psml?doc.id=JURE180006255&st=ent&doctyp=juris-r&showdoccase=1¶mfromHL=true#focuspoint (edit: link fixed)
RA Christian Solmecke on youtube converters: https://www.youtube.com/watch?v=JKya9gLreJw
5
u/oln Oct 23 '20
Hm, would a fork that disabled youtube, but retained other websites still be allowed on github I wonder? youtube-dl is plenty useful for other sites too.
5
u/Guinness Oct 23 '20
This seems like a huge stretch because it assumes that literally everything on YouTube is copyright protected. And there are plenty of open source royalty free music and video sources on YouTube.
However, the fact that YouTube-dl is designed to circumvent the website itself is where there may be problems.
See WoWGlider vs Blizzard. WoWGlider was third party software you ran on your own PC and it was designed to circumvent Blizzards software. The courts sided with Blizzard.
Unfortunately the reality these days is that companies have far reaching say into how you use their product on your own private property.
https://en.m.wikipedia.org/wiki/MDY_Industries,_LLC_v._Blizzard_Entertainment,_Inc.
You violate their EULA, you’re effectively breaking the law.
5
u/waylonsmithersjr Oct 24 '20
No ones mentioning it but the takedown included the names and URLs for private forks.
Just so you are aware but your private forks might be made publicly known and publicly displayed without your consent someday.
9
u/OnesWithZeroes Oct 23 '20
2020 keeps on giving.
9
u/dethb0y Oct 23 '20
The RIAA (and the DMCA) are sterling examples of why i am radically against the very concept of "intellectual property"
9
u/cdb_11 Oct 24 '20
repost from HN: https://news.ycombinator.com/item?id=24874111
The actual content of the legal argument being made by the RIAA in this and associated documents is lying by omission at best, and arguably is straight up perjury.
The only concrete circumvention they level at youtube-dl is that it "circumvents YouTube’s rolling cipher". I looked into this more, and before I go into how totally bulshit it is that they've apparently conned judges into believing this, you should read their full accusation (or just read the full DMCA letter from the RIAA):
So that's what the RIAA is saying that youtube-dl is doing. However, they're referencing a document that I presume was attached to their original email, the document from the Hamburg Regional Court, but we don't have that email, as Github didn't publish that document for us to see.
So I went looking, and it turns out that the RIAA has used this exact same excuse to go after some other people, their documents are available, and we can see more of what they wrote. I'm referencing this[1] document which I found through this[0] blog post about a 2016 case where the RIAA went after an online service called TYMP3. Here are the links, and here's what the RIAA said:
[0] - https://www.techdirt.com/articles/20160927/17062135646/can-someone-explain-to-riaa-that-sopa-didnt-actually-pass-it-doesnt-seem-to-know-that.shtml
[1] - https://assets.documentcloud.org/documents/3114545/YTMP3-Complaint.pdf
So, let's go see what the Youtube-dl source code actually is doing. The tl;dr version is that youtube does some slight rearranging of the characters in the URL of the remote resource, but they also supply you with the JS code to un-arrange that code into the actual working "signature" which you can use to request the video from youtube. So youtube-dl downloads the rearranged URL, and the JS that youtube provides, and uses a Python implementation of the JS interpreter to run YOUTUBE'S OWN JS THAT YOUTUBE SENT US IN CLEARTEXT TO FIGURE OUT HOW TO DOWNLOAD THE VIDEO. See the source code (hosted on gitlab for now, hopefully that stays up):
https://gitlab.com/HacktorIT/youtube-dl/-/blob/master/youtube_dl/extractor/youtube.py#L1399-1418
So to summarize, youtube creates two URLs: one that's a public video URL, and one that's the URL to the actual video content. The URL to the video content changes on a rolling basis, and is slightly rearranged. All that's true. However, what the RIAA is avoiding saying, and which completely changes the context of this discussion is:
YOUTUBE SENDS YOU BOTH URLS IN CLEARTEXT, AND INCLUDES THE CODE FOR HOW TO DOWNLOAD THE VIDEO, SO YOU AND YOUR WEB BROWSER CAN DOWNLOAD THE VIDEOS WITHOUT USING ANY ENCRYPTION/DECODING.
So when a judge asks "how is it that you're getting around this 'rolling cipher' to access the video?" all you have to say is "Youtube told me where to download the video, so I followed Youtube's instructions and downloaded it from the URL that Youtube gave me."
Frankly, I'm amazed that any judge, or any lawyer, would ever lay out or believe such bare faced lies as is being spouted by the RIAA in this document.
FUCK THE RIAA
8
u/Quiet-Smoke-8844 Oct 23 '20
How am I expected to download pornhub videos now? Outside the command line like a commoner!?!
I'm joking, I tried it once just to see how easy the process was. The app impressed me. I never actually downloaded youtube before since I rather have high quality music files. I still have a PC with a disc drive to extract audio.
4
u/jackfusion Oct 23 '20
I forked l1ving/youtube-dl because apparently it is forked from an up to date version. jackfusion/dl
4
u/[deleted] Oct 23 '20
This still works:
$ pip install youtube-dl
4
u/brennanfee Oct 24 '20
They can go fuck themselves straight into the grave.
4
u/KYQ_Archer Oct 24 '20
What a bunch of dicks
4
u/Rocklobster92 Oct 24 '20
I M just recording the YouTube videos to watch later. Just like with a DVR.
4
u/[deleted] Oct 24 '20
If there's one thing I've learnt about the internet is that if you try to fuck with open-source, they're going to make it 50 times easier to find the code in question.
4
u/Someguy242blue Oct 24 '20
I’m new here, so is this the equivalent for Kissanime being taken down for you all?
4
u/Ingroup Oct 24 '20
Copy of the zip file from a recent Github repo on IPFS at https://ipfs.io/ipfs/QmcfKQ5hVTBGCQwd3a9buByQivR3ZMBjw7C3BBc6hUzeNT?filename=youtube-dl-master.zip
You will need IPFS installed.
4
u/leurak Oct 24 '20
HOME TAPING IS KILLING MUSIC
4
u/cdb_11 Oct 24 '20
I know it might be shocking for some people, but not everyone is consuming netflix, facebook and shitty american pop music 24/7. I couldn't care less about it. If I wanted to download it, I'd use torrents for better quality. And like any sane person, I use an adblocker, so even if I'd "properly" use a web browser to access it through youtube, it's not like they would make a single cent of me anyways.
I use youtube-dl daily to archive stuff and watch videos in a lightweight video player, because I don't want to use the bloated mess that the youtube website is.
Since the stuff goes down so often, archiving tools like youtube-dl and web archives are in my opinion the most important pieces of software in this day and age. And I really don't care if the existence of these tools is making some corporations or record labels lose money.
4
u/npsimons Oct 24 '20
Two things you might find interesting:
/r/StallmanWasRight
6
u/audion00ba Oct 23 '20
The WWW is dead. Long live the WWW.
6
u/FailedShack Oct 23 '20
Mirrored just a few hours ago from GitHub.
https://dl.nul.sh/git/youtube-dl.git
6
u/plcolin Oct 23 '20
Guess again, dumbasses.
6
u/caboose0013 Oct 24 '20
I find it discusting that microsoft accepted this bullshit. What a disgrace, they should have fought it in court.
Fuck you microsoft.
3
u/Nchi Oct 23 '20
There were against vcr's too weren't they- fucking jokes
3
u/dredmorbius Oct 23 '20
Strategically / tactically, the most interesting aspect of the RIAA attack on youtube-dl to me is that it puts Microsoft on the spot to show its true colours. Is it Friend of Free Software, or Copyright Maximalist?
3
u/samfisher457 Oct 24 '20
Why? I use it on a daily basis to download videos from YouTube. It does the same thing that web browsers do. With this logic they should also ban web browsers.
3
u/chebatron Oct 24 '20 edited Oct 24 '20
RIAA lawyers will have to send another one or two notices. These youtube-dl repos spread like wildfire.
Git lab has a fork or two as well.
3
u/peterdinklemore Oct 24 '20
Archive and spread that shit 💪🏻💪🏻
3
u/JustMrNic3 Oct 24 '20
You gotta be kidding me DMCA takedown for an open source project ???
WTF is this and what's next, takedowns request for internet browsers, ISPS, electric power company ?
3
u/[deleted] Oct 24 '20
YouTube started out as a service to record Your life. That's what "You" in youtube is supposed to mean. Now it has been ruined by greedy money minded people who think they can exist without the people.
3
u/anor_wondo Oct 24 '20
So they allow say, chrome to download videos for watching but not a client like youtube-dl. So what exactly is a 'web browser'? If I use curl on some youtube resource, I'm infringing copyright?
3
u/[deleted] Oct 24 '20
the RIAA are so fucking stupid
3
u/azdweller Oct 24 '20
I'm shocked that the RIAA still exists in 2020
3
u/wk4327 Oct 28 '20
Can we already add RIAA to the list of terrorist organizations?...
5
u/ourfella Oct 23 '20
We need a github that ignores dcma requests
4
u/[deleted] Oct 24 '20
By what? Using web standards and technologies implemented by literally every browser and promulgated by widely respected standards bodies that made the internet and the web possible?
Eat me. This is like the RIAA suing Sony for making combo radio/cassette tape players with a "record" function.
0
u/[deleted] Oct 23 '20
[deleted] — view deleted comment
0
u/[deleted] Oct 23 '20
[deleted] — view deleted comment
0
u/[deleted] Oct 23 '20
[deleted] — view deleted comment
0
u/[deleted] Oct 23 '20
[deleted] — view deleted comment
0
u/[deleted] Oct 23 '20
[deleted] — view deleted comment
0
u/[deleted] Oct 24 '20
[deleted] — view deleted comment