Legality is not an option. It is a necessity, by definition.
One is that people often mix political and legal matters in colloquial discussions of such topics. I frequently catch myself doing it too.
It is clearly not in the interest of most people for functionality that youtube-dl offers to be illegal. In fact, most of the time it isn't really illegal, in a de facto sense, since it is never acted upon and prosecuted.
However, sometimes a shady organization such as the RIAA acts upon this legal grey area and tries to push the needle in its own direction. When people then say "There is actually nothing wrong with this, this is definitely not illegal.", they are actually making a political statement without realizing. They are really saying: this shouldn't be illegal because it makes no sense that it is so. Since people actually hold all the power, this act makes this the reality in a way, but in order for this to completely materialize, the will of the people must first be focused so that it is reified into law.
The other problem is that the world is not the US and there are many jurisdictions where circumventing copyright protections and/or downloading a media file for personal use are not problematic at all. This fact also often seeps into the discussion, but sometimes only implicitly, so people often talk past each other.
And all of the required measurements in order to apply fair use are almost impossible to prove, therefore it is an unlikely case to win in court.
I agree with the political sentiment in this discussion, and I have a biased opinion, too - but when talking about pushing the needle in a specific direction the maintainers of youtubedl did a bad job at doing so.
I mean, they have one of the most powerful industries siding against them, with nearly unlimited funding, so it is obvious that this was bound to happen and they should have been more careful.
Especially when they, as a project, cannot afford lawyers to fight potential battles in court.
That's why I described it as an unnecessary attack surface, because that's what it is.
Don't give them reasons to push the needle.
The music industry through RIAA are aggressive and may be punching above their weight class in litigation and lobbying, but remember that they are not really that large in the grand scheme of things. Certainly not in the class of juggernauts like oil, medicine etc.
https://www.riaa.com/reportcat/sales-revenue/ says the US music industry had $11.1 billion in revenue for 2019, a fraction of many large tech companies.
That's just a reason to not pay them anything ever even you find it desirable, they are obviously incapable to handle the money, powerful and incompetent is just too malicious.
There are countries where fair use is always permitted unless a court decision prohibits it in that single case.
It is extremely important to recognize in all this that as a country formed during the enlightenment, the founders of the US understood the importance information sharing holds for a free society. Copyright is intended to protect against wonton plagiarism and illegal redistribution. Fair use provisions exist to prevent abuse of this system and allow for legal redistribution and derivative works. These concepts. Patents and copyrights are at their core, systems designed to encourage distribution, not restrict it. Groups like the RIAA, Disney, the MPAA, and others are chipping away at this.
Fair use isn't some magic pixie dust that lets you do whatever you want with someone else's copyrighted material.
Fair use is a defense you can raise in court, _after_ you have been sued. It is not a presumptive right.
It meets at least 2 of the fair use factors:
1) the purpose and character of the use, including whether such use is of a commercial nature or is for nonprofit educational purposes;
2) the amount and substantiality of the portion used in relation to the copyrighted work as a whole;
> Fair use isn't some magic pixie dust that lets you do whatever you want with someone else's copyrighted material.
I didn't claim it was? I said this specific use seems to be a fairly good example. See above factors.
> Fair use is a defense you can raise in court, _after_ you have been sued. It is not a presumptive right.
Not correct. This has been challenged in court and it was found that fair use is a right and not simply a defense.
The U.S. Supreme Court has traditionally characterized fair use as an affirmative defense, but in .. (2015) .. U.S. Court of Appeals .. concluded that fair use was not merely a defense .. but was an expressly authorized right, and an exception to the exclusive rights granted to the author of a creative work by copyright law.
Fair use is still a defense to copyright violations, not a right. The 9th Circuit did not hold that fair use was a right in that case (the dancing baby case), only that a copyright holder must consider whether the alleged violation was potentially fair use before filing a lawsuit.
Importantly, the copyright holder is only required to consider whether the violation is fair use. They can still decide that it is not, and proceed with their lawsuit, with the only additional effort required being to state in their claim that they considered fair use and decided that the violation was not fair use.
(Note: while the 9th Circuit precedent is limited to the West Coast of the US, because most tech companies are HQ'd in CA or WA, so as a practical matter this case governs the internet.)
We hold that the statute requires copyright holders to consider fair use before sending a takedown notification, and that failure to do so raises a triable issue as to whether the copyright holder formed a subjective good faith belief that the use was not authorized by law. [2]
Note that the case was about abuse of DMCA takedowns by copyright holders if not considering fair use. Judge considers fair use as authorized by law, which I would interpret as right, not defense.
Another quote: We agree with the district court and hold that the statute unambiguously contemplates fair use as a use authorized by the law. [2]
Fair use is not just excused by the law, it is wholly authorized by the law [2]
From previously quoted wikipedia article, the paragraph continues:
"Fair use is therefore distinct from affirmative defenses where a use infringes a copyright, but there is no liability due to a valid excuse, e.g., misuse of a copyright." [1]
As for plaintiff considerations, IMO, of course plaintiff is required to argue it's standing, otherwise the case is thrown out, or in this case DMCA is abused. Normally the first bar is to make a coherent argument, then the court gets to decide whether your opinion is right, but that does not lower the defendant's rights to a "defense", even if they are a defense.
[2] Court's decision, hopefully: https://scholar.google.com/scholar_case?case=125676491686801...
In order to comply with the strictures of § 512(c)(3)(A)(v), a copyright holder's consideration of fair use need not be searching or intensive. We follow Rossi's guidance that formation of a subjective good faith belief does not require investigation of the allegedly infringing content
As for the quote, Fair use is not just excused by the law, it is wholly authorized by the law
The court is referring to 17 USC 107. Fair use exists in the context of whether something is a violation of copyright, in the same sense that self-defense is authorized by the law but is still a defense to criminal charges. Notably, I didn't call it an affirmative defense because it is not one.
Can you take a few seconds of a video and show it to a class of students for educational purpose?
Yes, you can
Can you do the same to test a software feature?
Yes, you can
The video is never used or displayed for its commercial value, but only to learn something from it.
It isn't illegal. Copyright protects the video/audio content, not the hyperlink. You would have to establish ytdl induces infringement. Grokster induced infringement. An automated test does not induce infringement.
Many people are pointing to those links as evidence that youtube-dl was intended to be a tool for piracy (under the assumption that downloading videos from YouTube is automatically a DMCA violation, which I'm not fully convinced of).
Publishing the software anonymously on hidden servers (say, Tor onion Services) is not an option. It is a necessity, by definition, because the legal system will f*k you up.
what is the purpose of this obfuscation? I mean if it is to hide the licensed content then legally speaking it doesn't sound like a great argument.
So to have a "nice" youtube-dl, just remove those tests and more importantly the DRM removal (not sure it will benefit RIAA in long term though...)
The reality is that there is no "circumvention of protection measures", like RIAA is claiming. Youtube provides a javascript to decrypt their cipher, youtube-dl runs it just as intended and that's it, that's just what a normal browser does.
From a technical (code) perspective, obfuscation may be an inadequate protection. But legally, the DMCA only requires some technical measure, and obfuscation satisfies that requirement. It is irrelevant that youtube-dl waits until after Youtube decrypts the content, since the law as written is agnostic to the specific technical details of how copyright protection schemes are implemented.
If this is truly the case, then every web browser that can access YouTube and supports JavaScript is guilty as well.
It's like distributing an encrypted video along with a python script that decrypts it and then saying that anyone who executes that script on linux is circumventing the copy protection. It's ridiculous.
Youtube-dl will not win this argument based on technical details on how content is provided by a licensee to an end user. That's irrelevant to how copyright law works. The entire history of copyright law has been about preventing the unauthorized copying of protected works through technical means, so copyright laws are deliberately agnostic to how the technical details are implemented. In the case of the DMCA, all that is required is that some technical effort went into restricting the unauthorized copying of licensed content.
A lot of HN commenters have pointed out that the technical efforts were quite simple: obfuscating the name of the cache file in the browser's cache folder. But for legal purposes that is sufficient. And if it's not, then in the very near future Youtube will no longer store RIAA music videos (or possibly any content) in an accessible cache folder, and congratulations: youtube-dl (and its competitors) won't work at all for it's namesake site.
I have no idea how American courts usually work, but what a given program actually does seems pretty relevant to me, if you allege something like that. But I guess that's just my opinion and the American law really is that fucked. Thanks for your answer.
No, they don't willingly give someone a dedicated tool that decrypts the content. Youtube simply does that for expediency.
The end result if youtube-dl wins on these technical access grounds is that Youtube will be forcedby the RIAA and other content licensors to stop caching content in accessible form. Youtube-dl will win the battle and lose the war.
I might be missing something, but I'm not sure what's the caching thing is about. YouTube tells you under what URL you can access the specific video or audio file, you download it and that's it. Whether the downloaded data is saved to a file or temporarily stored in RAM or whatever is up to the client. And the way everything is structured right now, I really can't see any other way they could do it without creating some kind of proprietary YouTube client.
The next step is probably go with Widevine: but YouTube probably doesn’t want to go there unless it has to.
Mildly off topic and poor timing I guess, but can you recommend any?
This comment is my personal opinion, not legal advice, and in no way relates to my employment.
it sure is on my end
1~4. youtube-dl isn't just a user facing tool, it is a library and tool that lots of other software shells out to, e.g. so you can play YouTube videos from your favorite standalone player in better quality than using a web player. Integrating ToS links and extra user interaction into that isn't trivial.