Using copyrighted materials in test code is fair use and a well established practice:
https://en.wikipedia.org/wiki/Lenna
The creators of youtube-dl are not distributing the material or inducing infringement by using a link to it in a unit test. I am typically on the RIAA's side,
https://news.ycombinator.com/item?id=23079092
but they're going to lose this one. If RIAA should be mad at anyone, it is youtube for distributing it without DRM. Youtube really really REALLY should have had their asses taken to the cleaners in viacom vs youtube. I don't know what the settlement was, but it wasn't enough, because youtube still exists.
https://en.wikipedia.org/wiki/Viacom_International_Inc._v._Y....
This is a python program doing exactly the same steps a browser takes to download the file. It's just written in python instead of js.
The RIAA is claiming that YouTube does have DRM on their videos, which if the court agrees, may be the end of youtube support in youtube-dl.
youtube-dl --skip-download --print-json https://www.youtube.com/watch?v=UxxajLWwzqY
You can easily copy the links from the formats into your browser and they will play, you can wget them, anything. There is no DRM there, and if anyone convinced you otherwise, they lied.
What kind of nonsense is that? Playboy did fight people for using it, the eventually let it go because it was one image that wasn't particularly important them. It's literally right there in the article you linked...
And I assume you forgot to link to this other program but again, not exactly a real argument.
RIAA went after them on the use of that link, if other projects (of which dozens exist by the way) didn't slip up like that and are still here, it only makes it clearer what the problem was
It is enabled by a feature of the Youtube service.
They explicitly disallow downloading, but it is not enforcable (though that word probably doesn't mean what I think it means... the law probably overrules physics)
Severance
"If it turns out that a particular term of this Agreement is not enforceable for any reason, this will not affect any other terms."
You probably won't ever actually need to use that defense outside of internet arguments honestly... for all their noise the most repercussions the average person might ever see from infringing copyrights is a scary letter from an ISP.
Good luck if the legal system decides to test your hypothesis though.
This isn't about YouTube's TOS at this point, you're making a copy of a copyrighted video without the consent of the copyright holder
> downloading works protected by copyright without the authority of the copyright owner is an infringement of the copyright owner's exclusive rights of reproduction and/or distribution
Secondly, the author somehow gave permission to YouTube to make the video publicly available and downloadable, and YouTube is perfectly happy to provide to me the download URL.
Laws don't exist in a vacuum, so it doesn't seem like a stretch for my comment to refer to the laws actually applicable here right?
Your second point is just remixing the same Stallmanist POV I call out above.
YouTube doesn't just provide you with anything. You go to YouTube, and you find a link, and you stick it in your unit tests.
The fact YouTube's server replies is neither here nor there in the eyes of the law (ironically Youtube does actually return 402 "payment required" and 429 "too many requests" of they figure out what you're doing)
You're free to make whatever esoteric argument you want, but after realizing they did something as silly as put copyrighted videos in the unit tests, there's not much of a leg to stand on.
Especially when there are literally dozens of YT downloader type projects of Github still up right now that didn't do that...
The proper procedure to do so would be to sue the authors, and from what I can gather none of the core authors are in the US.
That would be an Elbakyanist stance, not a Stallmanist one.
Elbakyan doesn't hide behind these kinds of tired non-arguments and instead admits SciHub is illegal and pushes people to take action so it's not: https://engineuring.wordpress.com/2018/07/07/why-sci-hub-is-...
My apologies for not divining the tea leaves on your made up term that I guess was not meant as a bad joke, but ends up being one anyways.
It's "prominent" in the source code. They literally wrote out "Test VEVO video with video age protection" then linked to a Justin Timberlake song
https://gitlab.com/HacktorIT/youtube-dl/-/blob/master/youtub...
I clicked on this ready to see some stupidity from the copyright industry but literally downloading from links to copyrighted music in your unit tests?
That's how you give the RIAA a way to take down your project. -
Actually seeing this made the comments made in the worst faith about how "they took it down because you can use it to download bad stuff, what's next?!?!" seem pretty dumb.
If that was the case Bittorrent... which makes youtube-dl look like a guy slinging tapes out of a van next to Naspter HQ...
wouldn't have been able to send them packing with a simple "we don't endorse piracy": https://venturebeat.com/2015/08/07/bittorrent-to-riaa-youre-...