Can't it be trivially reinstated then by removing any references to copyrighted content? youtube-dl has plenty of legitimate uses beyond just copyright infringement.
Plus they've advertised themselves as having that capability. I suspect that even after the removal the RIAA will argue that the fact that the ability to download copyrighted material, which is something that the project itself said it could do in the past and has not been modified, makes it continue to be illegal.
I don't think that's quite how it works. It's not (generally) capability that matters but rather intent.
The RIAA would of course argue that examples of infringement in the test cases or readme demonstrate intent. A reasonable response to that might (or might not, depending on the context) be that infringement in those specific cases was never intentional but instead purely by accident.
If the infringement in this case ends up appearing to be intentional, it would probably make for a very uphill battle to argue that the tool itself was only intended for legitimate use cases.
Edit: Of course, it's reasonable to ask - if it's legal for YouTube to distribute the content, does using youtube-dl suddenly make it illegal? Is it a violation of copyright to record a pay per view stream? What about a publicly available stream paid for by ad revenue?
Well that's the question, isn't it? Is downloading those particular URLs infringement if the content is legally allowed to be hosted on YouTube in the first place? If so, was the use of those URLs specifically intended to demonstrate or verify the ability of the tool to infringe copyright? Alternatively, can the tool be said to circumvent a protection device under DMCA section 1201?
(For the record, my answer to all of the above is an emphatic "no".)
And would a "derivative work" that happens to use "some" open source code from youtube-dl, but that never included a URL to a Taylor Swift song anywhere in the code, be considered to have a different intent?
I think this is actually an interesting question. Someone could fork youtube-dl to create "public-___domain-dl" which has multiple references in the README to the fact that it is only intended for downloading public ___domain videos from YouTube (and elsewhere).
Instead of a unit test which successfully downloads a copyright-protected video, it would have a unit test which attempts to download such videos but returns an error message to the user based on a hardcoded blacklist of videos IDs, stored in a separate config file. (It would also have a unit test for successfully downloading a public ___domain video from the developers' own channel, of course).
The developers could also make clear that they are happy to receive DMCA requests to add specific video IDs to their blacklist. As for what happens if the user deletes the blacklist config file, maybe that won't have a unit test.
If such a fork was successful in fending off court cases, though, it would start to raise interesting First Amendment questions. The difference between the two pieces of software, in practice, is just the text in the README telling people not to break the law (plus a single "Delete" button press after installation, which the user would have to learn about from another source). This would mean that the difference between developers complying with the law and breaking the law is including that text in the README, which effectively seems like compelled speech.
> would a "derivative work" ... be considered to have a different intent?
Probably not. If intent were to be demonstrated in court, a derivative work would almost certainly be tainted in turn unless those authors had a _really_ good justification for their actions. (IANAL though; I'm just guessing based on other copyright cases that came up in the media before.)
For example, imagine forking Napster back in the day, redoing the UI, and rewriting half of the internals. Do you really think a court would let that fly? Judges are hardly idiots.
That being said, why not just mirror the original to a host running as a tor hidden service and continue all development efforts there?
My guess is that the answers to the questions is likely "no", "it'd be a hard case for youtube-dl since their lawyers are probably not that great" and "no", even though I wish the answers were "yes", "irrelevant", "irrelevant".
Youtube has a licensing agreement with the RIAA. If they didn't, Youtube would be bankrupt, since statutory damages for copyright violations are $750/violation and there's no legal defense once they show the violation occurred.
(And as someone who has dealt with the music licensing agencies, you always just pay for the license. Paying the big 3 licensing agencies annually for millions of streams cost less than the statutory damages for a single violation.)
No the DMCA says that so long as they respond to take downs they aren't liable. The agreement prevents litigation that COULD result in a judgement that might modify this deal which is clearly a risk in addition to the cost of ongoing litigation.
Youtube has the right to stream those videos, because they pay the RIAA for a streaming license, which is a thing that music licensing agencies have provided for many years now. In many cases, the videos were uploaded by the recording studio itself, and in those cases presumably Youtube isn't paying a licensing fee because the license is implicit in the upload (but note that many videos uploaded by the artists themselves are not technically theirs to upload because the actual rights were held by the recording company, hence the reason Youtube needs the agreement with the RIAA).
The DMCA take-down exemption you are thinking of is a separate protection, that applies to Youtube taking down videos that aren't licensed by them containing music that isn't licensed by the creator of the music.
The statutory damages would apply in the former case, such as if an artist uploaded their own music video and Youtube didn't have the broad RIAA license. This happens a lot more frequently than you would think.
You seem to have a lot of legal theories that are based on your own understanding with no citations in cite. I suggest you do some research and either modify your opinions or add citations that show everyone else is wrong and you are right.
The DMCA only applies to the USA. In my opinion it'll only take days if not hours for the files to appear on a website in Eastern Europe, somewhere that the RIAA can't get at.
If that happens, the difference is that these are public ___domain non-copyrghted materials -- not the copyrighted videos, thus stopping access to the files will be more problematic.
The issue with the readme infects the rest of the code, even if it's removed. It's still evidence that the repository was intended to facilitate copyright infringement. The problem isn't the words of the readme but what those words imply about what the authors of the code intended.
If they instead had released it and then said in a public forum "check out my cool code for copyright infringement" (but had a totally blameless README) that would be used as evidence in the same way.
Equally, then, couldn't another author fork the code and distribute it under a new name, with the offending test removed and a blameless README that says "please don't use my cool code for copyright infringement"?
It sounds like you're saying the problem is with the original authors, not the code itself, so taking down the code seems like the wrong approach for the RIAA.