4240 points · by phantop · 6y ago · 1443 comments
https://news.ycombinator.com/item?id=24872911&p=2
https://news.ycombinator.com/item?id=24872911&p=3
> 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. For example, as shown on Exhibit A, the source code expressly suggests its use to copy and/or distribute the following copyrighted works owned by our member companies:
They could, of course, have asked for the code to have been changed. Instead, they attacked the project itself. IANAL, but this seems outrageous the same way DMCA'ing a Bittorrent client would be. This doesn't circumvent DRM like Widevine. I don't understand what leg they have to stand on here.
This feels like DeCSS all over again.
P.S.: They also took down youtube-dlc, even though it's not listed.
[1]: It turns out I am wrong. It wasn't in the readme, but in the test cases. See extractor/youtube.py. To me this seems even more tenuous, but IANAL.
The only chance tools like this have legally is when infringement is an "unintended side effect."
We used YouTube-dl for this, of course. No way we could have done this easily without it. We imported hundreds of thousands of videos like this.
I suspect there are many more legitimate uses of YouTube-dl than you would expect.
It's one thing if a tool designed for legitimate archiving use results in incidental violation of copyright.
It's another thing entirely, legally, if a tool is designed for violating copyright. In such case, it doesn't matter if there are also legitimate fair use uses of the tool.
And that's what the README showed: that youtube-dl was built primarily to violate copyright.
EDIT: based on other comments, it turns out the offending evidence was in the unit testing code not the README file, which legally makes it a bit worse than if it had just been in the README file.
Did your customers own those video files or the rights to the video? If they are the authors and owners of the content surely they uploaded something to YouTube to begin with. Why is that not what they uploaded to your service? If they preferred to import YouTube libraries clearly YouTube was adding some value there.
But Napster was a service run by an organization.
youtube-dl is neither a service nor an organization. It's just some source code floating around the internet, to which volunteers contribute to.
A very different situation.
If anything, it's Youtube itself that's like Napster, and it's telling that the RIAA has gone after youtube-dl rather than Google.
Unlike Napster, Google just complies and hence doesn't have much of a case against it like Napster did.
You used the words "unintended side effect" in quotes but I am unaware of where that comes from while I am familiar with the term "substantial non-infringing use" and "contributory copyright infringement"
Youtube-dl neither assists nor profits from copyright infringement and it possesses arguably non infringing uses.
- You can download non infringing videos. Youtube-dl works on a variety of sites beyond youtube
- If you feed mpv a url it will transparently use youtube-dl to handle fetching the media for playback. Unless you specifically tell it to this does not permanently save the video and is not materially different from watching the video on firefox.
Mpv incidentally uses far less resources for decoding video even with newly added hardware decoding in linux.
- You can consume the same video you are allowed to access on a different device or in a situation wherein you lack network access. For example one could watch and then delete a youtube video one wanted to watch on the train where you lacked internet access. This is analogous to format or time shifting which have been deemed fair use.
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.
What does it matter if I play the beatles on youtube by watching in a web browser or watching an .mp4 file that I just downloaded? It's functionally the same.
This is not far off from how it's legal to carry lockpicks but it's often not legal to carry lockpicks around with the intention of using them to commit a crime. Either way you're carrying the same lockpicks, but if the court decides that you were carrying them with bad intentions, you're in trouble.
They have these things called "streaming licenses" these days, that are very different from "download licenses" because streamed data is not the same thing as a downloaded file even if they both use the same codec and are derived from the same source.
The courts remedy (at least at the preliminary injunction phase) was not to shut down Napster but to force it to comply with search blacklists provided by the record companies.
youtube-dl obviously is not a service so had no ability to monitor ongoing use. IMO it would have a much stronger case for legitimate use.
IANAL
How could that be true? if the YouTube link in the test case was a video of farmer on his truck would that show it is intended for that use? No. YouTube dl is made to download any YouTube videos it has not been made to download specifically Taylor Swift music videos, it just has just been picked as a test case as any other YouTube videos could have been
A silly home video, preferably uploaded by the maintainers themselves would've just given RIAA's claim no teeth.
If the media provided by YouTube were DRM'ed and youtube-dl would be e.g. extracting the decryption key, this would make sense. Is that what youtube-dl is doing though?
What if someone sold a car and included instructions on how to run over pedestrians? Should the car no longer be sold, or should the instructions be removed?
My point here is that banning all of something based on the fact that the something could be used to commit illegal acts, when that same something also has legitimate legal uses, is a slippery slope. These days the RIAA pretty much lives on that slippery slope.Eg, i'm making an archiver and reader combination that, for personal use, archives stuff in a Git-like store. Yet, Git (and Git-likes) can also be used to distribute.. so hypothetically i could use this software to scrape and distribute content.
My intention is primarily to make news articles/etc searchable, archived, etc. Yet i'm sure NYT would have something to say about my test cases scraping their site.
.. the world is interesting.
I'm not sure what that means for youtube-dl though.
This. FWIW Grokster is the relevant case law here, not Napster:
https://en.wikipedia.org/wiki/MGM_Studios,_Inc._v._Grokster,....
We're still fighting over the color of bits. It's all a bit technically bozo, but, sigh.
It's an alternative web browser for videos, of course it was intended for copyrighted works, just like Chrome is. I don't understand your argument, is creating alternative web browsers illegal in the US somehow?
Just because copyrighted works are on youtube and are seen as an example of youtube content does not mean the software was built with the express intent to violate copyright. That just doesn't follow.
The argument is that youtube-dl is primarily used for breaking DRM not just that it could be used for doing so.
it wasn't in the readme, it was in the test suite.
I don't think it would be difficult to argue that downloading the world for the sole purpose of making sure the downloading worked was not an infringement (or, alternatively, was fair use).
Please pull that test case... Fooled! Now there is a legal reason. Here is the DCMA takedown notice.
Giving the project an innocuous name - think of a cute animal that isn't already being used as an open source mascot - and not explicitly mentioning popular artists in the README would have made the RIAA's case harder to argue.
As it stands now, whatever the ethics or politics, legally there isn't much of a defence.
LockPickingLawyer teaches you how to do things that could be torts, but there are circumstances where those same actions are entirely legitimate. Tort generally needs the context to show that something is not legitimate; so the same applies here. AIUI copyright is not a situation of strict liability.
There's very little case law on what the exact level of protection required to qualify, but I wouldn't want to go to court defending myself offer it. It's very risky.
Edit: I'm also curious why the riaa would have standing at all? Even assuming there is some protection being circumvented, it's not the riaa's control that is being circumvented.
[0] https://en.wikipedia.org/wiki/United_States_v._Elcom_Ltd.
This is crazy.
We need to ban radios with tape decks and TVs with VCRs! The audio cassette and the VHS are bringing the downfall of the music industry with how easily they can be used to create unauthorized copies!
Oh wait.
sed s/youtube-dl/firefox/g and voilà, DMCA for Firefox ready to submit...
Let's go further! Let's DMCA the Linux kernel because it runs Firefox/youtube-dl/curl/wget!
We're talking about an industry that normalized rootkit DRM and persuaded pretty much all hardware manufacturers to implement expensive encrypted pipelines to lock you out from trying to even take a glimpse of content playing.
After a few years of working near this industry I really cannot overestimate how rentseeking and scummy every single part of it is. They will abuse you without a second thought if there's a cent to be made.
But then, when secure boot came, Microsoft was forced to grant every owner of an Intel compatible computer the right to unlock it for antitrust reasons (luckily).
So were is the borderline between a legal tool and an illegal tool? Well, lawyers will find out...
In the meantime youtube-dl needs to be distributed some other channel. Which of course might raise the risk of back-doored or otherwise poisoned version floating around.
Indian startup taking down dissent, whistle blowers and leaks using take down requests to youtube and social media.
On a bit more serious note I wonder how much internet traffic is used for "illegal" purposes?
Didn't the RIAA put up a considerable effort against torrenting in the early 2000's? I remember quite vividly them going after just about anyone who made music available, even if you owned your own songs and were simply uploading them to a web UI to listen to in the browser (Remember Muxtape?)
This is like the reverse of those common disclaimers on hacking tools and tutorials which claim:
This is for educational use only.
I've always wondered, are courts fooled by such disclaimers? Are their authors untouchable just because they put in some boilerplate disclaimer like that?As for what was written in some code somewhere in the repo, it could have been written by anyone, even an RIAA plant who contributed that trojan horse to the project.
What makes anyone think what was said there is endorsed by or even representative of the views of the rest of the authors of youtube-dl or is what youtube-dl is for?
God, it pisses me off to no end to think that I'm going to be forced to use youtube's piece of shit, slow, ad-infested, tacker-infested, feature-poor, non-automatable browser interface.
But, after taking a few deep breaths, I think within a year there'll be multiple alternatives to youtube-dl which will all bear disclaimers that they are "for educational purposes only" and that they in no way endorse copyright infringement.
I think the answer is that this doesn't always sufficiently protect them, but these small bits add up. It's useful to be able to point at words written beforehand that could help you in a legal situation. This is what corporate speak is about too and enough people engage in it that it likely does something.
i dont think you have to wait that long. its client side, its open source, people have the code, it will most likely be maintained further, just not on github.
this is just meant as a backup, but here you go:
https://git.svarun.dev/ytdl-org/youtube-dl
or get the source with
pip download --no-binary=:all: youtube-dlNo. And there's no educational exception in the DMCA anyway.
> This feels like DeCSS all over again.
I think napster would be the better comparision (and especially napster compared to vcrs)
The source code does contain references to copyrighted videos in the tests, tests intended to make sure that youtube-dl can download the data from videos using the extremely "token" signature scrambling that youtube employs for certain videos. You can see the test cases here:
https://gitlab.com/HacktorIT/youtube-dl/-/blob/master/youtub...
>> We also note that the source code prominently includes as sample uses
as far as I can tell these videos are not referenced in the README, but instead in the youtube.py extractor file, which would go against the accusation that they were featured 'prominently'
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-...
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.
popcorn time?
In a dark universe timeline somewhere, the pull request for adding them to the README came from an RIAA employee.
It's confusing, because the letter calls it "the source code", which is not what anyone who knew what they were talking about would usually call it.
(not all of them, since the uploader grants youtube a license... but if the work has copyright holders who aren't the uploader, it applies)
Also a good reminder - never trust a third party to host your files, always have a backup. And hosting your infrastructure on Github means anybody who wants it can take it down with a single letter.
That's the operative word, because it isn't "like" at all to a nontechinical person. If you explain it as "yeah so I have one tool that literally has 'youtube' in its name, and it downloads videos, also some of the test cases to make sure it works show it work on copyrighted videos" and the other one is "people can use it to watch videos…sometimes? Maybe you can even run the first tool on it? But like a billion people use it for completely different things" you can probably see how this works.
I can't wait for ML to lower the barrier to entry for music to near nil. Make anyone a vocalist or instrumentalist and hose these assholes.
You can have your copyright infringed for decades before you try to prosecute the infringers, and the courts will still rule in your favour.
I could be wrong, but nascent technology in this field looks incredibly powerful.
I think this will happen with all media.
Of course YouTube has other videos that are under different licenses so it isn't clear that this is the only use case of the software.
Up thread there's also a citation of the Betamax case, which says that it's okay for people to record shows so they can watch them later, and it's okay to sell video recording devices.
This is different from Bittorent, which automatically distribute any content you download. With this too, when you are downloading, you are also distributing, which is a much clearer case of infringement in most jurisdictions.
What private copy wanted to cover is more like "I bought a physical CD and I make a cassette copy because my car doesn't have a CD player" or because I want to listen to a mix of my favorite music (so you paid a tax on cassettes and later on CD-R and CD-RW media). This was later extended to "I copy all my collection of music to a hard drive and stop flipping CDs in and out of the player" (so you pay a tax on hard disk drives).
My analysis is at https://news.ycombinator.com/item?id=24874277 and I'm broadly skeptical of the legal viability under US law.
It’s the same issue with deplatforming people, do we want a world where literally you lose the ability to share knowledge others don’t agree with Or in this case, a tool that could be used maliciously
That's the DMCA works I thought? When the host receives the notice they have to take down the content then forward the notice to the user, who can then file a counter-claim and then the host restores the content (if they don't take it down they they're liable).
But anyone running the test cases that does not have rights to those videos will have infringed, and then of course youtube-dl must also run their own test cases and we know they don't have rights to the videos.
Perhaps if youtube-dl used different examples (i.e. videos not protected by anti-circumvention) perhaps they could have avoided this.
I didn't find any mention of "DRM" or "Digital rights management" on the page. Can you be more specific?
And the take down could have been targeted against the particular files they found problematic rather than the whole project.
And the whole thing is ceded to the public domain. Anyone can remove the examples and unit test, call the code webvid-dl and be golden.
The author of the tool should have chosen a better example in the tests to at least maintain plausible deniability.
Does any camera manufacturer showing a camera filming a live concert in some promotional video needs to worry?
That seems like a reasonable argument given the evidence and the DMCA. I’m not defending the DMCA or RIAA here.
(a)(2)(C) is the part. IANAL but that's my take.
It most certainly does not, as almost nobody "owns" "copyrighted material," instead most users are granted a license in this context.
The RIAA and MPAA were suing users of Kazaa, BitTorrent, etc individually because of this law you may or may not like, but that's again the law!
The DMCA is complaining about test cases. See extractor/youtube.py in your local copy.
The stupid thing is hosting youtube-dl in the Untied States.
It's not like a million people don't have youtube-dl's source code.
It can be hosted anywhere in the world in a heartbeat, and by now probably has been a thousand times over.
The same thing will probably happen here because this is not one of the purposes of DMCA takedown letters, period. Even if there are inappropriate test cases or something in the repo, or if they’re correct that youtube-dl bypasses DRM in violation of a different part of the DMCA, it’s still not a valid takedown because GitHub isn’t hosting anything the RIAA/those it represents own the copyright to. The correct way to do this is to go after the lead youtube-dl developer(s) and/or GitHub for facilitating infringement or whatever, but I don’t think RIAA wants to do that because they probably don’t have much/any legitimate grounds for legal claims against them, so they abuse the DMCA to look like they’re doing something.
Edit: for a more concrete picture of what happens next, read GitHub’s DMCA policy.[2] Basically youtube-dl can file a counter notice assuming they disagree with the claims, after that the RIAA has 10-14 days to get a court order or the repo goes back up.
[1] https://torrentfreak.com/github-reinstates-popcorn-time-code...
[2] https://docs.github.com/en/free-pro-team@latest/github/site-...
[1] in https://github.com/github/dmca/blob/master/2020/05/2020-05-0... someone forked a permissively-licensed project; the original author made the project-closed source, then issued a DMCA takedown against the fork. That's clearly bogus: you can't revoke an open source license.
[2] in https://github.com/github/dmca/blob/master/2019/11/2019-11-2... Microsoft DMCAd a project that did something with Windows local licensing keys. I can see how Microsoft would prefer that this project not exist, but I see no infringement. Not everything that a big company dislikes is an infringement of copyright.
0: https://github.com/github/dmca/blob/master/2020/10/2020-10-0...
1: https://github.com/github/dmca/blob/master/2020/01/2020-01-1...
2: https://github.com/github/dmca/blob/master/2019/09/2019-09-0...
How in the world is Github allowing this?
btw, Popcorn time is a bit different situation. I would say bit torrent is more the problem, or at least the people who upload pirated content.
What is odd though is that it's the RIAA filing suit here and not google. Google has a real complaint, RIAA certainly does not.
It would be like if NYT went after a web client for saving news articles for offline reading.
Bizarre.
Probably not wanting to poke a hornets nest of the open source community.
Because Microsoft can afford lawyers to fight this, and random GitHub projects can't. It's an intimidation tactic.
The aim is fear.
I guess I’m nitpicking but it’s important that they’re not “filing suit”, possibly because they don’t care enough or don’t think they have a case. DMCA takedown is a sort of dispute resolution process mandated by law, it’s not a substitute for an actual lawsuit.
To prove tortious interference with a contract, a plaintiff must establish several elements, including that The defendant’s conduct led to a breach of the contract; and The plaintiff suffered damage as a result.
The question would be whether Github users suffered a breach of contract for having any of our repos potentially shut down for a reason that involves a third party's claims of violation of DMCA.
> 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.
But the "circumventing" is still accessing a stream the user can view anyways, and the "reproduce and distribute" feels like a stretch -- there's no inherent distribution. This isn't anything like a pirating or a torrenting tool.
It feels more akin to when movie studios sued VCR manufacturers for being able to record TV back in 1984 -- and lost [1].
(Also, side note but I have never in my life seen a story upvoted so quickly on HN. 130 points in just 7 minutes so far.)
[1] https://en.wikipedia.org/wiki/Sony_Corp._of_America_v._Unive....
From the RIAA's point of view, it works to their benefit that a download link doesn't exist, and it may be something they like, but that doesn't mean that's why.
It could just as easily be that a download feature doesn't exist because YouTube wants you to keep returning to their site if you want to rewatch a video.
It would be one thing if some YouTube videos had a download button and others didn't. That would suggest that, on the ones where it's missing, it is missing for a reason, and that reason might be DRM. But as far as I know, YouTube doesn't have download for any videos.
Software doesn't always have all the features that end users might want, and the mere absence of a feature doesn't necessarily tell you why it's missing. Also, it's not some weird, suspicious thing to write software which fills in a feature gap in some other software. (Google encourages add-on software on other products, too. For example, Chrome extensions and Gmail add-ons.)
But, maybe there is some legal reason why this could make sense. Maybe some terms of service or licensing (for video uploaders or for regular end users) says not to download something, which would make it clear that the download feature is missing on purpose.
My understanding is that basically anything at all, if it is in any way "technical" and shows intent, will be accepted as a "technical protection measure" if you go by what has worked so far.
Much more absurd and blatantly bad faith arguments have been accepted, "conspicuously not supplying the feature" is a very strong case in the absurd world of the DMCA cases.
The law is so vague on this point so as to include practically anything. Here is the text:
> a technological measure “effectively controls access to a work” if the measure, in the ordinary course of its operation, requires the application of information, or a process or a treatment, with the authority of the copyright owner, to gain access to the work.
an actual court in germany ruled that: https://openjur.de/u/2194436.html
sadly german only. lots of fud and hamburg is often pro copyright owner. not sure if that would hold at the highest instance.
Lets be clear though - the only reason copyrighted material is allowed on Youtube is because the owners then grant a license for the content in exchange for ad revenue. Offering a download link severly damages the "owners are paid for their content" part of the equation.
> # How YouTube Premium supports creators.
> Creators are the heart and soul of YouTube. To make sure they're compensated for their work, we share ad revenue with them when you watch ads on YouTube. If you're a YouTube Premium member, you won't see ads, so we share your monthly membership fee with creators. Best of all, the more videos you watch from your favorite creators, the more money they make.
So, to reply to the gp you technically aren’t just paying “evil” and “greedy” big corps, but your also helping all the YouTubers.
[1]: https://support.google.com/youtube/answer/7060016?hl=en
Yes, they have some sort of DRM, albeit a very weak one.
What youtube-dl essentially does is reading the playlist and concatenating chunks together, there is no DRM circumvention here.
In the USA legally it is because the vast majority of the judges that have ruled on these things think anything that isn't a browser is a hacking tool. Using wget is enough to get you thrown in federal prison for accessing public web resources.
Example?
My analysis is at https://news.ycombinator.com/item?id=24874277 and I'm broadly skeptical of the legal viability under US law.
The true purpose of the DCMA is to control the distributors via the use of tools like DRM.
The fact that you can view music on YouTube at all is something of an anomaly. The recording industry would love to dispense with YouTube entirely if they could.
Some examples for youtube-dl might be:
* https://www.youtube.com/watch?v=aqz-KE-bpKQ Big buck bunny
* https://www.youtube.com/watch?v=eRsGyueVLvQ Sintel
* https://www.youtube.com/watch?v=WhWc3b3KhnY Spring
In fact, youtube actually allows you to filter by CC, so there's never a reason not to!
They couldn't have done this. The 'infringing' links were in the test suite and were specifically tests for content from particular sources which had special links which required different techniques to download them.
The test would not have been accomplished if they were pointed at links which didn't have the behaviour that was being tested.
It makes for really bad optics though. Gforz's suggestion to upload test video with similar parameters is -in 20/20 hindsight- probably the better plan. Definitely better than giving bad ideas to copyright lawyers.
* https://github.com/Larry850806/youtube-downloader/issues/1
* https://github.com/Athlon1600/youtube-downloader/issues/81
c:\Users\david\dev\git
λ git clone https://gitee.com/mirrors/youtube-downloader.git
Cloning into 'youtube-downloader'...
remote: Enumerating objects: 98560, done.
remote: Counting objects: 100% (98560/98560), done.
remote: Compressing objects: 100% (30542/30542), done.
remote: Total 98560 (delta 73037), reused 90045 (delta 66441), pack-reused 0
Receiving objects: 100% (98560/98560), 49.86 MiB | 9.58 MiB/s, done.
Resolving deltas: 100% (73037/73037), done.What a ridiculous thing to ban. I've only ever used youtube-dl to grab copies of videos that I'm in but didn't upload, in the event that those videos were to disappear in the future.
The RIAA would score a great victory if it could essentially force youtube-dl development to go underground.
Not just a candidate. Torsocks + Git works perfectly. There's no mainstream free Tor Git hosting I know of, so that's a market ripe for picking.
Mainly what they need besides that is a place to co-ordinate, collaborate and track tickets. Solutions abound.
The RIAA's actions are annoying but won't kill the project.
But decentralisation would also make it harder to verify the code is legitimate.
Would you trust a copy of something like this from an anonymous server?
This would prove if malicious commits have been added to a mirrored repository.
Stop using Keybase.
Collaboration to keep it up to date hopefully follows soon after.
Youtube is bound to make a breaking change any day now, and as-is I have no idea where to look for updates to the project once this happens.
Sure, their website https://youtube-dl.org/
But they don't seem to have updated it yet
* https://www.real.com/uk/features ("download web videos from popular sites like YouTube and Vimeo")
It's an architectural difference, but it is unclear what it is. It cannot be because RealPlayer Downloader is a browser extension that provides a "download" button within the WWW page itself and youtube-dl works from URLs given on a command line, because other YouTube downloaders like iTube are also able to download a video given only a YouTube page URL.
* https://itube.aimersoft.com/free-mac-youtube-downloader.html ("free download YouTube videos to Mac in a Click.")
Or maybe it isn't a difference nowadays. This was some years ago. But there does not seem to be much talk about having to update these downloaders frequently like youtube-dl.
https://webcache.googleusercontent.com/search?q=cache:VI0TGu...
youtube-dl has been my primary way of getting videos since I learned about it. If the RIAA manages to kill it, my ability to partake in culture will be severely limited.
Trying it now results in:
ERROR: can't find the current version. Please try again later.
I'm unclear if it had always updated itself from GitHub or elsewhere. $ rg 'UPDATE_URL|VERSION_URL'
youtube_dl/update.py
35: UPDATE_URL = 'https://yt-dl.org/update/'
36: VERSION_URL = UPDATE_URL + 'LATEST_VERSION'
37: JSON_URL = UPDATE_URL + 'versions.json'
46: newversion = opener.open(VERSION_URL).read().decode('utf-8').strip()
$ curl -IL https://yt-dl.org/update/LATEST_VERSION
HTTP/1.1 302 Found
Date: Fri, 23 Oct 2020 20:15:04 GMT
Server: Apache/2.2.15 (CentOS)
Location: https://ytdl-org.github.io/youtube-dl/update/LATEST_VERSION
Connection: close
Content-Type: text/html; charset=iso-8859-1
HTTP/2 404
content-type: text/html; charset=utf-8
server: GitHub.com
etag: "5f777b31-239b"
content-security-policy: default-src 'none'; style-src 'unsafe-inline'; img-src data:; connect-src 'self'
x-github-request-id: 170E:2B71:1A0B5DC:1B8177E:5F933973
accept-ranges: bytes
date: Fri, 23 Oct 2020 20:15:04 GMT
via: 1.1 varnish
age: 85
x-served-by: cache-hnd18722-HND
x-cache: HIT
x-cache-hits: 1
x-timer: S1603484104.479172,VS0,VE0
vary: Accept-Encoding
x-fastly-request-id: a7128dab84232184052e51f07eb6263f5c88ab7e
content-length: 9115Well at least if they can hold onto their domain, and then host development somewhere, they'll maintain the ability to redirect updates to a new location without people having to manually reinstall.
It is universal and can download from almost any media site.
It's open source but they use SVN so you need an SVN client to actually see the code because they have no browsable repo tool.
You can find some mirrors of the code on GitHub, for example: https://github.com/mirror/jdownloader
If nothing happens to replace or reinstate youtube-dl, a lot of people like you and me are simply cut off from video content. This is pretty much terrible.
Useful things that I can't do on through youtube's web interface:
1 - archive videos (so many videos have been taken down and would be lost forever to me had I not had an offline archive of them)
2 - quickly play through a ton of videos on demand, offline, without waiting to load the video (and the ads) -- skimming through dozens of offline videos takes seconds, but I'd have to stare at my browser loading forever to accomplish the same thing through a web browser
3 - make use of many useful features of powerful media players like mpv... just yesterday I needed to invert the colors on a screencast because I was watching it at night and the video's white window background was blinding me.. I could do this instantly in mpv, but absolutely impossible on youtube
4 - remix the video or otherwise alter it to my needs using powerful offline video editors.. youtube's offerings here are again a sad joke in comparison (as are most web tools compared to offline tools)
5 - not have to sit through a single stinking ad
If youtube could have just offered simple download links for their videos this would not be a problem.
But, no, they need you to be glued to their website and bound hand and foot to their service for as many hours of the day as they can bleed out of you.
6 - listen to public talks, presentations and soundscapes while doing something else with my mobile device, or letting the screen sleep in my pocket. YouTube requires the video to be on-screen or it stops playing, which makes it completely useless for listening to things. Other video sites are much better for this.
(I don't need advice on how to get around this thanks, I already know how to. But that's another of YouTube's crappy standard behaviours.)
YouTube's web interface is basically useless for me on a slow link, not to mention it's incredibly obnoxious with all its recommendations and other unmanagable propaganda delivery.
Youtube-dl's ability to retrieve titles and descriptions without showing me anything else and before retrieving any video content alone make youtube's opaque hashed URLs usable for me.
I've never used youtube-dl. How do you find the videos to download?
Youtube's website changes all the time, too, so you'll have to constantly re-read the source and adapt your downloader to it (essentially what youtube-dl does).
It may not be rocket science, but it's not trivial either, and not every developer on HN is a web developer or has any interest (or time) to become one.
At the same time, this lead me to browse the Github's DMCA repo, which has some real gems. For example, this DMCA takedown of repo with copied course assignment of a different student and did not comply with the Apache 2.0 Licence [1].
[1] https://github.com/github/dmca/blob/master/2020/10/2020-10-2...
Removal of Udemy-dl (2015,2017): https://github.com/github/dmca/blob/master/2015/2015-08-12-U... https://github.com/github/dmca/blob/master/2017/2017-11-13-U...
Removal of linuxacademy-dl (2018): https://github.com/github/dmca/blob/master/2018/2018-09-24-l...
Removal of Instagram-API (2020): https://github.com/github/dmca/blob/master/2020/01/2020-01-2...
These projects are just instructions, it's like selling a kit for a radio that is illegal to put together and use. The kit itself isn't illegal.
https://github.com/github/dmca/blob/master/2020/10/2020-10-0...
https://www.pcgamer.com/the-missing-link-is-an-impressive-an...
If someone here with a good research-paper-search-fu can find the paper, it would help help our community a lot. All I remember is that it was from some peer-to-peer conference, and I read it in 2008.
But none of the papers look like what you've been talking about.
Psst, precedent* :) Precedence is the order of importance in which something occurs (e.g. operator precedence). Precedent is a level of standard to which a secondary action is compared.
---
Also that dude's a fucking legend, DMCA takedown-ing his classmate.
Diff between that mirror and the one from the web.archive.com looks good. I.e. no hidden/evil things inside. Looks safe to start over.
```
$ git log --oneline -3 48c5663c5 (HEAD -> master, origin/master, origin/HEAD) [afreecatv] Fix typo (#26970) <=== https://gitea.eponym.info/Mirrors/youtube-dl
7d740e7dc [23video] Relax _VALID_URL (#26870) <=== https://gitea.eponym.info/Mirrors/youtube-dl
4eda10499 [utils] Don't attempt to coerce JS strings to numbers in js_to_json (#26851) <=== https://web.archive.org/web/20201018144703if_/https://github...
```
https://tor.stackexchange.com/questions/4855/is-it-possible-...
It's not much but I would like the sources to be easily accessible.
I have created the repo at Darktea, feel free to create your anonymous accounts and join the project, until we find a better/decentralized place.
For now this should be sufficient:
http://it7otdanqu7ktntxzm427cba6i53w6wlanlh23v5i3siqmos47pzh...
I will give the main contributors the neccessary access for reviewing/merging/etc.. or will entirely hand over the project if you can prove you are the maintainer.
Git: http://127.0.0.1:43110/1CXohM8XBz3mUGUR8w9CYXqdYt5JzfoPfi/yo...
Zip: http://127.0.0.1:43110/1uPLoaDwKzP6MCGoVzw48r4pxawRBdmQc/dat...
This server uses git 1.7.x, so people with old installations can easily clone it.
It's like serving Mozilla a DMCA takedown for FireFox.
I however welcome the highly visible reminder that github should only be used as a mirror at most.
Yes, you can download the full video with a browser. Yes, you can use wget or curl to do that. But youtube-dl's community was dumb enough to give clear cut examples of downloading copywritten material, which is obviously not what the RIAA or probably even YouTube's lawyers want.
Courts care about intent, and it's a straw man to argue that technical similarities mean they're half-assing their enforcement.
EDIT: The DMCA doesn't require that you have a law degree to submit a takedown request, it just requires that you truly believe it is infringing.
IMHO this wasn't the best move, I mean... the use of copyrighted music as an example DIRECTLY stated in the repo, as an example to show what you can download with the tool
Edit: I've googled and found relevant articles. I didn't realize how high profile this was.
See: youtube_dl/extractor/youtube.py line L557
Thought - It’s possible that someone in association with the RIAA made a code contribution that included that change for the purpose of creating evidence to file a DMCA.
See youtube_dl/extractor/youtube.py line 588 in HEAD.
Video was originally added in f7ab6cbe160afbba60537c7a830a4c65c6f0b3ea back in '13, to the file test/tests.json.
1. You should not have your development process on a centralized platform, at least not if you're doing anything that smells of copyright issues
2. If you do host on a centralized platform, have regular, decentralized backups of code and issue tracking.
3. Also, avoid US-centric hosting for this kind of thing. But really, refer to 1.
Or lets people communicate. Or broadcasts news. Or can filter messages or news. Or directly applies encryption to anything. Or is related to accounting. Or can be indirectly linked to health services. Or, well, you get the idea.
"RIAA blitz takes down 18 GitHub projects used for downloading YouTube videos"
aand isn't a DMCA 512 takedown:
Although GitHub classified the RIAA letter as a DMCA takedown request, it is not one. As Public Knowledge Legal Director John Bergmayer pointed out today on Twitter, RIAA isn't alleging the library infringed on its rights, but that the library is illegal in itself.
This isn’t really a DMCA request. I don’t see an assertion that youtube-dl is an infringing work. Rather the claim is that it’s illegal per se https://t.co/vQ16nVleCf
— John Bergmayer (@bergmayer) October 23, 2020
https://www.zdnet.com/article/riaa-blitz-takes-down-18-githu...
I wonder how this will impact the AI research community if there's some FUD around this tool.
Generally scraping is a gray area. I know researchers who scraped Google street view for large areas to train AI models without Googles approval and got hired by Google for their impressive AI skills instead of threatened.
I know researchers are a tiny group compared to consumers, but it's still interesting I think.
The DMCA is over 2 decades old, and seemingly nothing useful has come up since. The current system seems to do not much other than provide a big stick for the RIAA and MPAA to wield whenever they get bored and try to extract rent using law that still seems stuck in some mire of player piano era logic. The last sane system I encountered was when I was doing college radio, where you had a license to play music, were required to log what music you played, and were assured that some clearinghouse would sort out the royalties that needed paying out of the aggregate license fees.
There seems to be mass confusion over what's legal on modern services like Twitch, where music is used in the same spirit as radio (background music chosen at the whim of the DJ/streamer), but isn't legal because it runs up against licensing schemes designed for including music in TV and film productions with massive budgets.
There doesn't seem to be any clear way to handle shit as any sort of small content creator, as the rightsholders seem to want to preserve some weird fantasy land where they're both entitled to complex negotiated rights deals (which make sense if you're say, some massive entity a la NBC, and want to include music in a new big budget show) while also not providing anything for the rest of society (if you're not NBC- or CBS-sized, the people who negotiate rights contracts won't give you the time of day). If you're not one of the mammoth-class media conglomerates, your options appear to be "do not use music ever" or "use music casually, and then be on the receiving end of a massive legal bludgeon". You can't get the time (or music) of day, but if you do somehow manage to get it, then you _do_ get the time of day, but in the form of massive retroactive fees or whatever that you "should" have paid had the licensing cthulu been willing to engage with you before you determined that the rightsholders weren't interested in dealing with you.
Right ol' kafkaesque nightmare, it is.
If anything, the next DMCA will be tilted even further towards publisher interests. The latest EU publisher payout copyright 'reform' -- which, among other things, banned photography of buildings and skylines -- is the most likely model for the next US copyright 'reform' measure.
Congress only passes laws that large piles of money pay for[0], so the only prospect of copyright reform is if someone puts up a billion dollars in campaign contributions (bribes). Further money may be needed to re-stack the judiciary to ensure a reform will survive the wide-eyed fanatics on the USSC. This scenario is deeply unlikely as piles of money large enough to afford to spend a billion dollars purchasing legislation are very happy with the law as it stands.
[0] https://www.cambridge.org/core/services/aop-cambridge-core/c...
That sounds like absolute nonsense, unless you can cite a source. First of all the EU has no power to actually pass laws, only make draft recommendations. Secondly the whole "copyrighted buildings" thing is about prohibiting commercial use of a structure's image in advertisements etc.
Hyperbole does not help your cause.
There is no reform because reforming or fixing it is antithetical to the current intent - nigh unlimited power for a fortune 500 companies mob of lawyers (or affiliate) to take down and sue with impunity.
The moneyed interests here have a trillion dollar industry on the line. The people just have... freedom? and sanity? to gain in return. And those are nebulous, unfocused interests. If the collective citizenry cannot unanimously push for police to not crush windpipes on the street anymore its never going to voice disdain for a thousand page book of artificial made up scarcity built up over hundreds of years.
The difference matters. GitHub is required to honor DMCA takedowns. Other legal requests are granted on a case by case basis.
-- /u/telionn @ reddit
https://old.reddit.com/r/programming/comments/jgub36/youtube...
As I understand, takedown is a 17 USC 512 (copyright infringement) safe-harbour, but not a required or indemnifying protection under 17 USC 1201, anti-circumvention:
https://www.law.cornell.edu/uscode/text/17/1201
Lumen (Chilling Effects) is silent on this point in their FAQ: https://lumendatabase.org/topics/14
Fuck the RIAA
Here's Debian's mirror btw, somewhat out of date and using the one-commit-per-upstream-release development model (in the upstream branch), so lacking a lot of history: https://salsa.debian.org/debian/youtube-dl
Edit: On a serious note, though. I just realised that Internet Archive apparently doesn't archive most PRs? (https://web.archive.org/web/20201018122643if_/https://github...) If so, that's a real shame, I had an open PR on youtube_dl and even though I still have the code locally, I would've liked to keep the PR conversation as it had some really helpful feedback and a bunch of people that were potentially interested in my feature.
It was really a matter of time. I'm sure most of us were already amazed it lasted this long - and it did because it remained a relatively obscure tool for years.
It's also the case that the development of subversive/illegal tools requires a certain amount of subterfuge and sneakiness that the youtube-dl developers apparently weren't ready to engage in. While this is understandable, it also underscores the fact that such tools live on borrowed time (as does, I would argue, general-purpose computing itself).
pip3 install --user --upgrade youtube-dl
So I guess they haven't issued a take down to PyPy yet.youtube-dl becomes obsolete very quickly as endpoints make changes on their settings and formats, notably youtube.com themselves
git clone https://code.hackerspace.pl/q3k/youtube-dl
Clone, verify and rehost.[1] - https://webcache.googleusercontent.com/search?q=cache:o7ilf8...
Where the hell do they have that much hard disk space, and who is funding them?
Does anyone see the video links in the README claimed by RIAA?
# JS player signature function name containing $
{
'url': 'https://www.youtube.com/watch?v=nfWlot6h_JM',
'info_dict': {
'id': 'nfWlot6h_JM',
'ext': 'm4a',
'title': 'Taylor Swift - Shake It Off',
'description': 'md5:307195cd21ff7fa352270fe884570ef0',
'duration': 242,
'uploader': 'TaylorSwiftVEVO',
'uploader_id': 'TaylorSwiftVEVO',
'upload_date': '20140818',
},
'params': {
'youtube_include_dash_manifest': True,
'format': '141/bestaudio[ext=m4a]',
},
},Perhaps the next iteration of this project can leverage google's own insatiable greed against them. Embedding youtube into every "smart" device on the face of the planet probably requires that google maintain a fairly consistent private API which all of these devices can communicate with. If someone were to reverse engineer one of these devices or just throw wireshark on the WLAN, it probably wouldn't take long to emulate the same approach...
What is stopping someone from using these types of internal interfaces instead of the public ones?
It also shows again that while free services like Github are convenient, and truthfully their interface is the one to beat, it is better to use them as a mirror of something you self host then the primary.
Some options: (I prefer gitea - easiest to install and maintain, very active development community, single binary, written in Go)
I'm not even sure that the RIAA has standing to sue or could demonstrate injury:
- The claimed anti-circ method is not the RIAA's, it is Google's (via YouTube). - As a user agent, youtube-dl is simple an alternate Web access method which runs code from the YouTube website as a necessary part of the process of accessing and playing content ... meant to be accessed and downloaded. - Youtube-dl has substantial non-infringing use. 17 USC 1201(a)(2)(B) https://www.law.cornell.edu/uscode/text/17/1201
See 17 USC 1203: Civil remedies: https://www.law.cornell.edu/uscode/text/17/1203
> France doesn’t have copyright. Sorry for US readers, your “copyright” is nonsense that doesn’t apply here, though the word “copyright” can be seen misused verbatim once in a while.
I believe this interpretation of "copyright" is all similar around Europe. US copyright law is all about "right to make copies", be it software or music/video and it just doesn't make any sense on the other side of the globe.
In the country where I live I can purchase a music or video file and legally make unlimited copies for my personal use. It is also legal to download it from any other source as long as I can prove that I paid for it some time ago in the past. Torrents are illegal as the protocol forces me to share the file, and sharing part is illegal. Downloading is fine xD.
[0] https://thehftguy.com/2020/09/15/french-judge-rules-gpl-lice...
I assume this only applies to "copyrighted" content? Is it illegal to torrent a Linux distro or some such thing?
Either way, this seems much more reasonable than the US's current system.
You see similar things with state laws. If say Wisconsin and California have a very similar statute, and Wisconsin has precedent but California does not, the Wisconsin precedent is not binding, but is persuasive for a judge in California.
> The clear purpose of this source code is to (i) circumvent the technological protection measures used by authorized streaming services such as YouTube
Using this logic then OBS or any desktop recording tool is also violating the same measures because you could press record while a Youtube video is playing and wind up with your own locally recorded copy of the video.
Since we're here, let's also say any smart phone is also in violation since they could technically record a Youtube video playing on another device.
A tool like OBS is designed for generic desktop recordings, while youtube-dl is designed specifically to enable the copying of copyrighted works. Or at least that's what the RIAA will say, and unfortunately a judge will likely be very sympathetic to that claim.
I wonder where this will go defensively in court if it gets there.
I guess what the RIAA is really saying is that murder is legal depending on what was used to kill someone.
A hunting knife could be used to kill someone but it could also be used to slice a pizza pie. A pizza cutter was designed to slice pizza but it could also kill someone without too much effort.
If it's not ok for youtube-dl to create an mp3 of a music video but it is ok for OBS to do the same then it must also be ok to decapitate someone with a pizza cutter[0].
[0]: Do not try this. I'm not a lawyer.
A lack of a feature can be rationalized in any direction. Ultimately not enabling you to download increases youtube's revenues because of people rewatching the same videos online.
Unless Youtube states explicitly that this lack of a download feature is for the purpose of copyright infringement then they can pipe it and stop disrupting everyone outside the US.
OBS very clearly isn't. youtube-dl arguably is.
> Repository unavailable due to DMCA takedown.
(a) Are there mirrors?
(b) Are there Github equivalents in e.g. Russia where the RIAA doesn't have jurisdiction or extradition power?
-- edit
found one: https://gitee.com/mirrors/youtube-downloader
If not Russia, any other country that has more freedom than the USA in software, doesn't take crap from the US, AND doesn't block Youtube.
My personal feeling, and obviously not a legal opinion or even morally infallible in any sense, is that storing a local copy of digital content that has been consumed should be allowed. Where it becomes grey (or my feeling tends towards disallowing) is if I share or re-broadcast that content in any form.
That is, I feel the DMCA is in the wrong here. Unless they can prove intent to re-distribute it feels wrong that they can ban my ability to maintain a copy for myself. I believe it ought to be a right to store such content locally.
If 3 people all borrow the same book sequentially then it's fine. If one person borrow it, photocopies it twice to share with two others, then they've broken the law. And yet nobody in either case has made more or less money.
I am in favor of copyright law that prevents profiting from another person's work, but not against copying. Once your idea is public knowledge, there is no reason for it not to spread freely given how easy it is to transmit information now.
This treads into territory I feel is grey. I imagine the complex case where I sell some creative content (e.g. a pdf, audio file or video). You pay me for access to this content and download it. I grant that you ought to be able to retain a local copy of that content for so long as you wish.
Then you create freecontent.com and publish it. You don't put ads on it, you don't sell it - you simply make it available for free at some URL without my express permission. In a world where that is legal, I feel it would materially harm my ability to earn from content I create. I have a hard time supporting that even though I am sympathetic to the idea that information ought to spread freely.
Got any data to back up this feeling? I've seen plenty of cases when content creators have had big breaks due to their content being made freely available. If people love the work, they'll support the creator. This modern trend of needing to pay before you even know if you love the work is an inversion of what has happened in history, to our detriment.
The books are priced in part based on assumptions about how many people can read them over time. A book at a library can probably only be read by ~20 people a year. If 200 people a year want to read it, the library needs ten books. But, if we were free to post the scans online, the price per book would need to be astronomically higher.
While the usual naive extrapolations of MSRP-times-pirated-copies is also wrong, allowing people to freely and at-will render others' work unprofitable is a subversion of the purpose of copyright: To ensure that the creation of works is be profitable enough to pursue.
If someone wanted their work to be in the public domain, they could so choose.
Can you support the claim that creative work becomes unprofitable when copies are made freely available, but the option to support the creator still exists?
If you're photocopying a library book in order to avoid buying your own copy, I don't feel great about that—we need to support authors. Yes, everyone's financial situation is different, and not every under-the-table photocopy is a lost sale, but there has to be some incentive to actually go to the bookstore.
But here’s the thing—for 99% of Youtube videos, there is no bookstore. There is no other way for me to acquire an unencumbered video file, regardless of how much I'm willing to pay.
And to stretch the photocopy analogy a bit, there are a lot of other reasons someone may want to photocopy a book:
• If the book has small print, you may want to enlarge the text.
• If you prefer listening over reading, you may want to OCR the pages and use text-to-speech.
• If you're doing research, you may want to OCR the pages so the text can be digitally indexed and searched.
• If you have an eReader, you may want to digitize the book so you don't have to carry around a paper copy.
And, sure, in some cases it may be possible to buy an official audiobook, or an eBook, or a large print edition. But in other cases, that might not be an option.
Downloading a Youtube video affords similar freedoms, allowing you to experience the content in the way that makes sense for you.
This is the big problem with the DMCA. It shortcuts the messy dirty work of dealing with IP violations, to the benefit of large corporations and the detriment of individuals. The former engage in rampant abuse of their powers under the DMCA, apparently without any fear of significant consequences. It's just another example of the degree to which large corporations own America.
Finally we have a way to preserve books in perfect form forever digitally yet people somehow try to shackle this new technology with paper book technology limitations. The same limitations that coat us so much ideas, knowledge and stories as books would burn, rot or turn to dust.
Frankly any form of technology trying to prevent digital book distribution and archiving really is a digital equivalent of the inquisition book burning (or helping make that happen again).
What is the fundamental difference between a book and a video that would make books a special case? Yes, they were around earlier, and yes, that history has shown what can happen if we start censoring expression. But that's not unique to books, and the exact same reasoning applies to video in the current world.
How many old movies have been lost, old TV shows that were live only, old software with source code lost for ever and even many games that no one can play anymore due to game servers and DRM servoces shut down.
Instead of breaking out of this vicious cycle when we finally have the technology to do that, there are people actively working against that, including sabotage of those who want to do the right thing...
I mean, guns are banned in many countries using precisely the same reasoning. And I might totally be wrong about this but I heard that in the UK you need to be over 18 to buy even just kitchen knives.
There's a "Challenge 25" (formerly "Think 21!" IIRC) policy which covers these kinds of situations - although it is just a voluntary agreement from the major retailers.
https://www.gov.uk/government/publications/sale-of-knives-vo...
> The maximum penalty for an adult carrying a knife is 4 years in prison and an unlimited fine. You’ll get a prison sentence if you’re convicted of carrying a knife more than once.
This blows my mind a little bit. I have a Swiss Army knife (among a ton of other things) in a waistbag that I carry most places I go. It proved very useful a few times, but other than "in case I need it" I don't have a particular reason I carry it. It seems really dystopian to me that in the UK, I could get 4 years in prison for that.
Also people who claim the same logic applies to kitchen knife and guns are mentally still living in the wild west of the 1800s.
Wikipedia indicates that a few countries (e.g. Laos) ban all private citizens from owning guns. See: https://en.m.wikipedia.org/wiki/Overview_of_gun_laws_by_nati...
And, of course, the infamous case of Napster [2]; while the vast majority of user behavior was obviously piracy, the tool/network itself was content-neutral, and could also be used for public domain content, or works published with the permission of the copyright holder.
[0] https://en.wikipedia.org/wiki/DeCSS
[1] https://www.stoel.com/legal-insights/article/the-anti-circum...
def _decrypt_signature(self, s, video_id, player_url, age_gate=False):
"""Turn the encrypted s field into a working signature"""
if player_url is None:
raise ExtractorError('Cannot decrypt signature without player_url')
It definitely does do decryption, as stated in the DMCA claim:> is a technology primarily designed or produced for the purpose of, and marketed for, circumventing a technological measure that effectively controls access to copyrighted sound recordings on YouTube
.. and some claims referencing a 'youtube to mp3' site ruled illegal by a German court.
Not defending this, 'effective technological measures' are a horribly broadly-scoped hole, but there is decryption at play here.
The DMCA contains provisions that criminalize circumvention tools. The plaintiff only has to prove that a tool is mainly designed to aid in copyright infringement and/or that's the most common use. It's a super super bad law, but has unfortunately been used quite successfully over the past 20 years by the likes of the RIAA and MPAA and others.
> Is a knife in violation of the criminal justice system because some people use it to kill and therefore no one can use it anywhere, ever?
Many jurisdictions in the US consider carrying a hidden knife beyond a certain length as illegal carry of a concealed weapon.
Some knives (switchblades and gravity knives especially) are illegal in most places. I think the UK is even stricter.
I think it's usually about carrying them in public outside your house. Likely not as illegal to have them at home.
Gravity knives are scary in that the police have occasionally argued that certain common pocketknives (e.g. Leatherman) can be used as a gravity knife and arrest people (usually minorities of the wrong color). I once was going on a road trip across multiple states and had to research the laws of each state because I was carrying a Leatherman.
Many many other tools are deemed iheirently illegal. Guns, explosives, motorcycles over certain CC, encryption software, etc.
There are plenty of legitimate uses for youtube-dl. There is even fair use in the US. How can i make fair use, eg. remix or a commentary if i can't access the videos outside of youtube.
What is a bowling ball made for? What are bows and arrows made for?
It's not that far from targeting wget or curl, were it not for the widespread use of them in industry.
However, GitHub is also required to reinstate `youtube-dl` if the creator files a DMCA counter-notice.
This notice is a conflation of two separate aspects of the DMCA, the copyright takedown process and technological circumvention devices. If the RIAA wishes to claim that youtube-dl is a circumvention device, the proper route is to sue the authors of youtube-dl. This notice is an abuse of process, and highlights the need for a penalty for fraudulent DMCA requests.
Similarly, youtube-dl can issue a counter-notice, and Github will have no responsibility to determine the validity of that either. They simply restore access unless they have been notified that a lawsuit is in progress.
I don’t think that’s true? I think that only extends to this particular DMCA. Obviously it wouldn’t extend to eg me claiming Ruby on Rails is copyright infringement.
Not really. They're legally required to do so. The DMCA notice (despite what someone suggests downthread) is unfortunately quite properly served. Even if it is flat-out wrong, GH/MS has no reason (and likely no resources) to investigate whether or not that's the case. And if they did, and got it wrong, they'd lose their safe harbor status and be liable for damages.
If the youtube-dl author believes it to be bullshit, they can send a counter-notice, and GH/MS will then put it back up. If the RIAA still has a bone to pick, they can file a lawsuit. Unfortunately, they very well may.
> It's not that far from targeting wget or curl, were it not for the widespread use of them in industry.
I get really confused when I hear things like this, because this makes no sense. Targeting a program called "YouTube Download", which has the main purpose of downloading clean copies of YT videos, against the wishes of the content creators is absolutely not the same thing as targeting a generic HTTP/FTP download tool.
I think the DMCA is garbage, but it feels like willful ignorance to be at all surprised about things like this, and to compare this to something obviously non-infringing.
Among many other sites and services.
> against the wishes of the content creators
I'm a content creator on YouTube and I'd be honored if anyone chooses to save my videos on disk. The tool has its legitimate uses and abuses.
Because there's no upside and only downside. If they refuse to comply and it turns out that youtube-dl did infringe, then they won't have DMCA safe harbor status and could be liable for damages.
That said, I think if Youtube-dl self-hosted on Gitlab or something and received a similar takedown, they could probably mount a successful defense.
Edit: NVM. Getting nowhere with setting that up.
On that note... how do you actually remove copyrighted content from a git repo? Even if you fixed the problem on the HEAD of the master branch, it would still exist in the version history.
(It gets a bit harder of it's cryptographically signed)
EDIT: To whomever is downvoting, I'm not making a remark about some specific event, is a tongue in cheek poke at "history is written by the Victor". Chill.
1. Advertise that it is intended to aid in copyright infringement
2. Include some tools to circumvent DRM used in harry potter e-books.
Not quite the same as using downloading a copyrighted work as an example in the README, but still a very poor choice.
"For example, as shown on Exhibit A, the source code expressly suggests its use to copy and/or distribute the following copyrighted works owned by our member companies"
That's quite unwise to be honest. But these examples should be removed, not the code itself.
This is master on 4eda10499e8db831167062b0e0dbc7d10d34c1f9, retrieved from gitee.com, and is the last known hash from Google Webcache [1].
Clone, verify and rehost.
[1] - https://webcache.googleusercontent.com/search?q=cache:o7ilf8...
The RIAA and America in general has no right to police the rest of the world.
If they hosted it somewhere else, there would be different laws restricting how people all over the world use it.
Why does the tool being hosted on an American website make any difference?
YouTube's content doesn't all belong to them, they don't even own the majority of the content on there and a huge number of users and creators on youtube do not live in or fall under American jurisdiction which means neither does the content they create, so again, why should the RIAA have the ability to do this?
I don't want my money funding this sort of overreaching censorship.
Napster was followed by bittorrent, bittorrent by popcorntime, and youtube-dl. in the past 20 years the industry has quietly capitulated and delivered some content users really want like streaming audio services, but in the grande cosmos of the DMCA-related war on piracy the industry itself continues to do more to smite its own face than it does to offer a more reasonable and accessible product to their audience.
There is nothing to keep me from writing something now that scrapes puseaudio for content triggered by mpv. the only real factor thats of concern is that this new backflip would be even harder for the RIAA to prosecute.
Also, a recommendation for the youtube_dl crew is to use a self-hosted solution (if GitHub/GitLab/SourceForge wont do). Find a cheap Linux hosting provider and run Gitea on it: https://github.com/go-gitea/gitea
It's the best tips I can give for now.
Regardless, it's possible to host PyPi wheels yourself if necessary. The installation process wont be as straight-forward as "pip install youtube_dl", but it's still doable with one command.
This makes it very easy to backup and move all project data as needed. In comparison most other forges hold project metadata in an instance wide database, making it much harder to extract & import when needed.
Incredibly sad, it did IM very well and on top of it all, it had a bunch of very innovative features. And no, nothing really competes with it.
https://github.com/forgefed/forgefed is a github alike that is federated via ActivityPub. this distributes content to a bunch of servers, but it is not cryptographic, not meant to be censorship-resistant. i think this could be layered in to ActivityPub, particularly by making use of Signed HTTP Exchanges to verify content origin, & then you'd still need a way to find alive hosts.
The whole copyright industry is based on toxic premises that do not hold true anymore in the internet age.
By now, different models have been proven to work. Make them the norm. Abolish copyright. Or turn them back into what they were supposed to be: a TEMPORARY protection of a work since first publication (originally 21 years IIRC).
Old Disney characters, superheroes invented in the 40s and 50s, even the "more recent" Starwars are part of culture now just like Othello or Moby Dick are. Allow to use them as such.
If they did, it'd be still complicated. A real example, a modder makes some content for an old abandoned game. He needs some voice over, so he contacts the original voice actors, but they deny to do that job on the grounds of being a member of org like this[1] which strictly prohibits to take side jobs.
And to make it even more complicated, consider tools like for making deep fakes; if somebody makes a neural network that emulates the original voice, should it be sub-licensed or copyrighted? Can a voice be copyrighted?
$ git clone https://salsa.debian.org/debian/youtube-dl
$ cd youtube-dl
$ git remote rename origin salsa-debian-org
$ git remote add -f code-hackerspace-pl https://code.hackerspace.pl/q3k/youtube-dl
$ git remote add -f git-technik-io https://git.teknik.io/ytdl-org/youtube-dl
$ git remote add -f ytld-org https://gitlab.com/ytdl-org/youtube-dl
$ git remote add -f gitea-eponym-info https://gitea.eponym.info/Mirrors/youtube-dl.git
$ git remote add -f gitee-com https://gitee.com/mirrors/youtube-downloader.git
Basically, it looks like https://gitee.com/mirrors/youtube-downloader.git is the most up to date.The start of the log looks like this:
$ git log --all --decorate --graph -n2
* commit 416da574ec0df3388f652e44f7fe71b1e3a4701f (gitee-com/master)
| Author: Sergey M․ <dstftw@gmail.com>
| Date: Fri Oct 23 21:31:37 2020 +0700
|
| [ytsearch] Fix extraction (closes #26920)
|
* commit 48c5663c5f7dd9ecc4720f7c1522627665197939 (ytld-org/master, gitea-eponym-info/master, git-technik-io/master, code-hackerspace-pl/master)
| Author: Toan Nguyen <davidnguyen1501@gmail.com>
| Date: Thu Oct 22 19:15:05 2020 +0700
|
| [afreecatv] Fix typo (#26970)
The salsa.debian.org repo seems to have diverged a long time ago (commit db29af6d36b3d16614355dac70f22c4f2d8410d2 in 2016??).I'm worried about Newpipe now, it's been a life changer.
$ brew install youtube-dl
...
==> Downloading https://github.com/ytdl-org/youtube-dl/releases/download/2020.09.20/youtube-dl-2020.09.20.tar.gz
...
curl: (22) The requested URL returned error: 451 Unavailable for Legal Reasons
Error: Failed to download resource "youtube-dl"
Download failed: https://github.com/ytdl-org/youtube-dl/releases/download/2020.09.20/youtube-dl-2020.09.20.tar.gzEveryone knows what Youtube is. It's easy to understand the utility of being able to download a video from Youtube to save it on your computer. If they didn't already know this was possible to do, they'd immediately want to start using it as soon as you explained it was possible.
DeCSS was exploiting a weak encryption scheme's weak key distribution scheme. Where the only final explanation for why this matters is that it can be used to rip off DVDs.
Why do I need to be denied access to a repo if I'm outside the US?
Well, then please also Block all Browsers, SSH, Tunnel, etc. too, because you can use those too to easily download copyrighted material.
I really hope this doesn't stand, because what it's basically saying is that you can't even tell someone how to download something that might be copyrighted. Not only that, but this was brought forth by a murky technicality.
Pray to god this never happens to NewPipe.
* Downloading a video you uploaded and no longer have stored locally.
* Downloading a video to create a fair-use response video.
* Downloading video/music that is free commons (or some other non-restrictive license).
* (Gray) Downloading content to archive it.
* Downloading content you have already purchased and have in your possession.
* (Dark gray) Downloading content you have a paid subscription to view, but don't have reliable internet.
All of these anti-piracy measures need to answer one simple question - what stops somebody from just screen recording your material? At the point in which somebody can view your material on another device, you've lost a lot of control.
P.S. This clone seems legit:
`git clone https://gitea.eponym.info/Mirrors/youtube-dl.git`
https://gitlab.com/ytdl-org/youtube-dl
https://git.teknik.io/ytdl-org/youtube-dl
If a maintainer would like top aquire these orgs just message me.
If anyone has an up to date repo of the github pages repo that'd be great too.
> that'd be great too.
The webpage seems to be still up [1], it should be possible to grab those resources.
The releases can be rebuilt from the tags - the only other thing is the issue tracking. It would be a super pain to lose 3.3k issues (and the discussions they contain) [2].
[2] https://web.archive.org/web/20201018144509/https://github.co...
The end game is every device having a watermark detector. The PS3 wouldn't play BDs with pirated in-theater movies for example, due to audio watermarking.
That would be a concerning future, but thankfully one that would very hard to realize. You would need to control all hardware & software players, as well as all watermark removal techniques.
I guess the end-game is really just cloud-computing. If every device is just a dumb terminal, you don't really have the power to bypass any such measures.
IUUC importing this to GitLab would have taken ~½dozen clicks and saved the open issues, etc.?
They'll still take down a repo and block the user if it is hosted. And self hosting something isn't free, plus quite possibly puts more legal exposure on the team.
This isn't a problem with technologies or the platform. There fundamentally needs to be a narrowing of DMCA, a presumption of innocence rather than guilt, and penalties for issuing unjustified takedowns.
Re: your edits, yes, DMCA reform is also important, and quite arguably more so. But decentralizing from GitHub would still slow takedowns down, and have other benefits.
https://github.com/marzzzello/youtube-dl
https://github.com/koalp/youtube-dl
https://github.com/r4rdsn/youtube-dl
This website is currently disabled due to a DMCA takedown notice. The website you are trying to access hosts copyrighted content. Please contact support, or seek the copyright holder's permission to access the content.
What this means is that iOS is effectively one lawsuit (ore even major bribe) away from RIAA or other similar unscrupulous group dictating what sites you can access and what you do with the browser. And you can't just sideload another browser due to the walled garden!
And it's not just iOS as there are unfortunately many Walled garden platforms these days - smart TVs, game consoles, browser extensions for some browsers, etc.
Even Android limits what you can do with a ROM that is not rooted - and some high profile apps will refuse to run on a rooted one!
if nothing else, today i finally actually used a bundle file:
git clone ytdl-org-youtube-dl_-_2020-09-28_19-41-32.bundle youtube-dl1: At this time this is just a baseless accusation and there are no repercussions to the RIAA for blatant abuse. Why wouldn't they simply send a takedown for anything they don't like no matter whether it is legal or not?
[1] https://www.law.cornell.edu/uscode/text/17/512
[2] https://www.eff.org/deeplinks/2019/08/youtubes-new-lawsuit-s...
They mostly do.
> If the DMCA takedown was actually baseless, they would be opening themselves up to damage liabilities, as specified under 17 U.S. Code § 512 under section f[1].
The basis for liability there is knowing misrepresentation of infringement. So as long as RIAA believed (and that belief need not be reasonable) the legal theory of infringement that they advanced, there's not a liability problem.
SUre, if they misrepresented their right to act on behalf of the legal owners of the works they claimed were infringed by it, or that would be an issue, but no one even suspects that they are doing that.
Courts calculate damages for fucking with an open source software project as basically zilch. For all intents and purposes, that is "no repercussions" for a pile of lawyers like the RIAA.
The damages need to be punitive.
1. Clone the repository. Make an insignificant change to the initial commit in order to change all commit hashes. Push to github as a new repository.
2. Create a password "protected" zip file (or smaller volumes) containing the repository. Use a password that's easily found in common wordlists. Commit it to another project and push to github.
Microsoft GitHub may be centralized, but it's not omniscient. RIAA may be a control freak, but it's not omnipotent. Let information be free for all.
Self-plug, I know. But I'll update it if anything new comes in.
FWIW, it's easy to find the code on Google. The release tarballs have the format youtube-dl-YYYY.MM.DD.tar.gz and one can look in the Homebrew Cellar, for example and see there was a release on 2020.09.20. ;)
Radicle: https://news.ycombinator.com/item?id=19367916
Gittorrent: https://blog.printf.net/articles/2015/05/29/announcing-gitto...
Discovery and issue management is important and is not part of git.
Discovery is not there though.
Git was designed to facilitate a network of repos. For better or worse, most use cases naturally gravitate towards a single clone as the "canonical version", and unfortunately we've all got too comfortable in having that version be owned by a third party service provider.
You do, in fact, have a client capable of working without a central server. It's tedious but sending patches over email is definitely one way to make it work without relying on a single system. You can also have and push to or fetch from multiple servers with your client, which can be other developer's own servers, or a server reachable over Tor as a hidden service, etc. It's very flexible if you want to go that path.
It’s a protocol. You can use it against any target you like.
https://web.archive.org/web/*/https://github.com/ytdl-org/yo...
E.g. the first snapshot redirects you to https://web.archive.org/web/20200923163719/https://github-pr... and it works.
Also, I'm just the messenger so please don't shoot/downvote me
[1] https://ipfs.io/
> (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.
https://github.com/github/dmca/blob/master/2020/10/2020-10-2...
(i) is strange claim as youtube-dl simply implements various streaming protocols public to anyone, most commonly used protocol is HLS which is just a simple list of URIs of small portion of video files in text file over HTTP/HTTPS. No technological protection whatsoever. (ii) can be easily avoided by simply removing or changing the example usage.
"Download Web Videos" "Keep your favorite web videos safe on your PC by downloading them. You can save videos from popular sites in one click – including YouTube."
Seems clearly that if youtube authorizes downloads, then people shouldn't put things on youtube they don't want downloaded?
The takedown notices should be going to youtube. But of course they want to use youtube to promote themselves.
The propertied classes won’t let this crisis pass without using it as an opportunity to further enclose and plunder the commons even more for the working classes.
In which case we know, and the "but it's a NEW Microsoft" crowd can pound sand.
I see ... an outside ... case Microsoft's not in the engineered-scarcity racket. I wwouldn't bet the farm, but it could be an interesting side wager.
I suspect this will be fixed in a day, and just be hosted elsewhere.
And also, isn't this like when the studios sued the makers of VCRs?
It would seem hard to argue that Google is completely against it when they could be considered a contributor to the "problem". Providing apps that violate their own TOS. Not just source code, but actual apps/extensions.
They're requesting the takedown under 17 U.S. Code § 1201 - Circumvention of copyright protection systems. [https://www.law.cornell.edu/uscode/text/17/1201] It's a few paragraphs of the actual law at stake here. There's no much to it.
Essentially, they're arguing that Youtube's normal stream distribution technology is "effectively control[ling] access to a work." Given 3A & B from the link above, that will take a fair amount of arguing - there's no encryption, there's nothing that requires information under the authority of the copyright holder (like a key) to descramble the information.
Unless the repo has code that's breaking browser-based DRM, in which all bets are off - breaking DRM is by definition circumventing a technical protection. Doesn't matter if it was easy to break-- you break encryption, there's no more argument over whether you're circumventing. Decryption is right there in the text of the law.
Github agreed to the takedown because they don't want to be distributing a circumvention tool, and they don't feel like going to court over whether this is a circumvention tool or not. There are a lot of repos out there, you can't go to court over every single one. I'd be surprised if it stayed up on GitLab for much more than a New York minute, either.
The EFF might fight this, because there's a pretty good argument around the noninfringing uses; however, they also might not, because there's not much of an argument around whether it violates the Google Terms.
Some us are mentioning that there are use cases for this software that don't infringe copyright. That goes back to Sony v Universal, the VCR/Betamax case, which permitted the production and sale of technologies with "substantial noninfringing uses." In the case of the VCR, the particular noninfringing use was time-shifting of broadcast television, taping shows to watch later. The noninfringing uses here are around downloading works that are in the public domain or Creative Commons, and definitely around offline use. Easily a colorable argument.
The file sharing cases of the early 2000's have drawn some lines around the noninfringing use defense, though. Napster and Grokster both claimed, in court, to support noninfringing uses. However, both products promoted their products as offering free access to copyright-protected works, and the courts took notice of that in both cases-- I believe that the Grokster opinion may have noted that Grokster had never mentioned a noninfringing use outside the trial.
IOW, if you're providing a dual-use technology for noninfringing use that is also capable of infringing use, you absolutely cannot promote the infringing uses to the exclusion of others. Not only do you draw unwanted attention to yourself, you may actually (as in Napster and Grokster) invalidate the most important defense that you have for your activities.
That's an excellent point. It seems like youtube-dl may have started as a tool primarily used for ripping music off YouTube, but it has grown into a tool that is used for so much more than that today (offline viewing of content, backups of freely licensed material, fair use such as extracting clips from videos, etc).
Given that no one is getting sued over this, at least not yet, perhaps it makes sense to not fight this and simply allow youtube-dl as it stands to be pulled and re-imagined as a new piece of software that is explicitly focused on the positive and legal use cases. If RIAA still wants to go after that software, the case against it would be far weaker than the current product that has "YouTube" in the name and explicitly references ripping copyrighted music in its source code.
I'd like to see a case surrounding software like this actually defended in a court, though. It would be helpful to clarify what is legal and what is not on the modern Internet in terms of fair use and time shifting.
> Repository unavailable due to DMCA takedown.
How, exactly? This is why I dislike GitHub's "Fork" button, since a takedown of the original takes yours too.
Github receives a letter from a private organisation RIAA and then takes down the repository.
How does Github know that this request is proper and youtube-dl is illegal? Just because it comes from RIAA?
Did Github give the repository owners a chance to migrate to another service willing to host their content?
> It only means that we received the notice on the indicated date. It does not mean that the content was unlawful or wrong. It does not mean that the user identified in the notice has done anything wrong. We don't make or imply any judgment about the merit of the claims they make. We post these notices and requests only for informational purposes.
(IANAL) Github follows US copyright law (and probably other countries' copyright laws too), so they're required to take it down upon receiving a DMCA takedown request. If it's not a proper request, the repository owner can file a counterclaim, but that would open the repository owner to lawsuits.
;)
I wonder if the same could apply here (if this notice holds up to begin with), either as a book with code, or as a book with instructions in English language that are equivalent to what the code does.
[1] https://www.wired.com/2000/08/court-to-address-decss-t-shirt... [2] https://en.wikipedia.org/wiki/DeCSS_haiku [3] https://www.gamedev.net/forums/topic/138581-decss-midi/ [4] https://en.wikipedia.org/wiki/Steganography
If not the code, then at least that, should be a free speech violation; DMCA should not be used to silence websites (even if the code is taken down!)
Coincidence?
After the RIAA won a case against Limewire in 2010, the next significant legal action I can find in a bit of looking is that the US Supreme Court ruled against the RIAA in Allen v. Cooper (March 23, 2020).
Here are the opinions: https://www.law.cornell.edu/supremecourt/text/18-877#writing...
I have a lot to look into...
https://twitter.com/GalacticFurball/status/13197659867911577...
The more often this happens, the more we'll learn about reproducible builds, decentralized (and/or anonymous) code hosting, and setup tools and software that uses this more. I'm sure the distributed tar.gz is next on the list for this DMCA and we can't rely on things hosted on the clear web anymore.
[1]: https://radicle.xyz/
Sure, GitHub like features offer more than just a space to host our code. It has become a goto site for example, finding new and interesting repos to contribute to.
It's important that the devs or community that develop a software think about the potential censorship it might have to encounter from thugs like DMCA, based on what is it that they develop and evaluate the choice of hosting.
It also showcases a marvelous advantage of using git as a VCS, they automatically have multiple backups and can easily transport the project. And it showcases that all the other project info, like issues and comments should also be under version control and downloaded in developers machines. You can't depend on an external service for your project.
BTW, is it possible to use GitHub features in a distribute way? E.g.: create issues in my machine and pushing it to the server?
For now this should be sufficient:
http://it7otdanqu7ktntxzm427cba6i53w6wlanlh23v5i3siqmos47pzh...
I will give the main contributors the neccessary access for reviewing/merging/etc.. or will entirely hand over the project if you can prove you are the maintainer.
I wouldn't have installed if they hadn't done this, and I'll probably never use it, but this rubbed me the wrong way.
If it's been taken down I am sure it will pop up on some torrent. The authors and all those who have contributed to it have copies.
How can a court tell me not to publish generally useful software with a legitimate intent?
All the connected forks have also been disabled. Better to clone and re-push if you ask me.
Has github made a statement yet?
(Oh and don't think for one moment that the RIAA's actions have anything to do with supporting the struggling artist.)
I feel vindicated, but also sad that the end of this particular era has finally arrived :(
I really wish there was some kind of retribution in the typical OSS licenses. You censor free software, free software censors you. I think these organization would think twice to take down a project if they would immediately lose access to Linux, Apache, Python, et. al.
So I’ll ask: is this DMCA request justified? Why would the RIAA be going after YouTube-dl, rather than Google? Wouldn’t it make more sense for the RIAA to go after YouTube instead?
This is obviously not ethically justified, but I have no idea if it's legally justified.
The RIAA is fishing, and all the precedents are against them pulling up even a minnow.
Unfortunately there is a lot of precedent for the lawyers of a large organization bullying a smaller one and getting away with it.
I can't speak to the average youtube-dl user's experience, but I've used it a lot and have never distributed a video. I've saved videos to watch later on my own, that's it.
Legal assistance isn't free; it's just paid for by other donors: [0]
You're out of troubles?
And even a lot of unofficial libraries that allowed easier yt access. Dead in a go.
Do we have a cli alternative that does everything of yt-dl except the video download part?
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:
[0] - https://www.techdirt.com/articles/20160927/17062135646/can-s...
[1] - https://assets.documentcloud.org/documents/3114545/YTMP3-Com...
< 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):https://gitlab.com/HacktorIT/youtube-dl/-/blob/master/youtub...
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
Also couldn't the youtub-dl team claim that the whole "drm video download test" was a security test?
They acted very fast on this one.
Guns can be used to shoot people, they’re explicitly advertised as being for shooting people, shooting people is a crime. We request you stop selling guns.
It’s all just a tad misplaced.
... Actually, I should stop giving them ideas for their next takedown notices...
That's the way how it works with google search.
"Under penalty of perjury, we submit that the RIAA is authorized to act on behalf of its member companies on matters involving the infringement of their sound recordings, audiovisual works and images, including enforcing their copyrights and common law rights on the Internet."
The DMCA doesn't magically give you the right to file "takedown requests" for circumvention devices: as stated elsewhere in this thread, they must sue in an appropriate United States venue.
This filing is absolutely in bad faith and the preparing attorney should actually face professional censure.
Perjury?
> Under penalty of perjury, we submit that the RIAA is authorized to act on behalf of its member companies on matters involving the infringement of their sound recordings, audiovisual works and images, including enforcing their copyrights and common law rights on the Internet.
Absolutely none of these things are applicable to this case.
I’ve never scrutinized one before. I would have assumed it would be of the form “under the terms of the DMCA you are REQUIRED to etc etc”
:D
Like silk road but for your open source fixes...
This thing with YouTube-dl makes me consider that one quality that a "The Adventures of Huckleberry Finn" of computer science should possess is having been banned. Of course YouTube-dl might not be the Huckleberry Finn, but maybe it is something like The Satanic Verses (which I was never a fan of).
Is it different for you?
Searching for 'youtube-dl' didnt give any results 10 hours ago. But searching for 'youtube-d' showed many.
scnr
I wonder if the project can defend itself?
Warning: do a diff against the last archive.org copy to make sure it's clean.
Are user-agents illegal now?
Would it be possible to host a Git server on an IPFS distributed system?
Microsoft could pursue alternative copyright or music regimes which undermine the RIAA's stranglehold. Notably, the Microsoft Store online marketplace dropped books and music in 2017 (https://www.bbc.com/news/technology-47810367), meaning the RIAA has minimal leverage here. At the same time, an unencumbered alternative could provide an opening against two of Microsoft's biggest rivals, Apple (music), and Amazon (books). Possibly Google (both, plus, obv., video) and Netflix (video) as well. A large-corporate-backed Creative Commons media service would be a game-changer.
https://tildes.net/~tech/suf/youtube_dls_github_repository_h...
Microsoft claim to have staked their future on Free Software.
https://www.idginsiderpro.com/article/3584911/how-microsoft-...
How believable this is can be argued, of course.
The company paid $7.4 billion for GitHub in 2018, a $5.4 billion premium over the service's 2015 valuation.
https://www.theverge.com/2018/10/26/17954714/microsoft-githu...
https://fortune.com/2015/07/29/github-raises-250-million-in-...
I'm ready to be a sponsor for the project to live further.
It would be ironic if this backfires on them because of the Streisand effect.
Does this mean bittorrent client can be taken down as well?
Who is drawing the line here?
I explained the full RIAA complaint, with links to prior complaints and the youtube-dl source code, here: https://news.ycombinator.com/item?id=24874111
The legal reasoning here is shaky. Notice that they cite a German court and assert that the law there is materially the same as that in the US.
I did some research on this specific issue at one point, and I'm skeptical that Youtube's controls qualify under the law in question.
RIAA cites two sections of the law: >the provision or trafficking of the source code violates 17 USC §§1201(a)(2) and 1201(b)(1).
It almost certainly doesn't violate 1201(a)(2), which is for access controls. This is intended to be used by someone who already has access to Youtube, so no access controls are bypassed.
R. CHRISTOPHER GOODWIN & ASSOCIATES, INC. v. SEARCH, INC., Dist. Court, ED Louisiana 2019:
>While the user id/password combination required for access was surely a "technological measure" that controlled access to the works at issue, Pevny did not circumvent that measure. She validly accessed the system using her id/password combination while she was still an employee with Plaintiff. Even if the use that she made of that access is not something that Plaintiff would have authorized her to do, i.e., copy the materials at issue, it remains that Pevny's alleged abuse of her logon privileges does not rise to the level of descrambling, decrypting, or otherwise to avoiding, bypassing, removing, deactivating, or impairing anything. As the district court observed in Digital Drilling Data Systems, LLC v. Petrolink Services, Inc., No. 4:15-CV-02172, 2018 WL 2267139, at *14 (S.D. Tex. May 16, 2018), many different district courts have held that using the correct username and password to access a copyrighted work, even without authorization to do so, does not constitute circumvention under § 1201(a) of the DMCA.
Youtube-dl either involves access to files that don't require a login, or it uses your password / cookies to access the file, so it doesn't bypass access controls.
The claim under 1201(b)(1), which is for copy controls, has more potential.
There are the subsections:
>(A)is primarily designed or produced for the purpose of circumventing protection afforded by a technological measure that effectively protects a right of a copyright owner under this title in a work or a portion thereof; >(B)has only limited commercially significant purpose or use other than to circumvent protection afforded by a technological measure that effectively protects a right of a copyright owner under this title in a work or a portion thereof; or >(C)is marketed by that person or another acting in concert with that person with that person’s knowledge for use in circumventing protection afforded by a technological measure that effectively protects a right of a copyright owner under this title in a work or a portion thereof.
A and B clearly don't apply. The primary purpose of youtube-dl isn't to download copyrighted content, but simply to download Youtube videos, whether they're copyrighted or not. There's clearly more than limited legitimate uses (such as downloaded public domain videos.) The question here is about C - there's an arguable case that the examples in the repo that this letter cites are "marketing" usage for infringing purposes. I'm somewhat skeptical that counts as "marketing", however, and it could be easily remedied by removing those examples or replacing with public domain examples.
I explained the full RIAA complaint, with links to prior complaints and the youtube-dl source code, here: https://news.ycombinator.com/item?id=24874111
https://gitlab.com/HacktorIT/youtube-dl/-/blob/master/youtub...
So yeah, Youtube/Google is doing (basically) nothing to protect the content, and for the absolutely token obfuscation they do use, they also provide you with the way to get right back to directly accessing the data without any protections.
The RIAA is lying in saying that Google is using technical protections, and they're lying in saying that youtube-dl is doing anything other than what Google tells them to do in order to access videos.
Finally, there is most definitely gobs of YouTube public domain or CC-by-SA. Copyright owners who reserve all rights are not the center of the Universe.
"Most" is not the same as "primary".
If anyone wants them, feel free to shoot me an email.
There should be no DMCA, all ligitation should cost the person suing a percent of income. The tyranny big players have is disgusting.
phew. i'm all good.
Any recent Homebrew commits?
Why stop there? I can use my browser to illegally download content, so I guess we better issue a DMCA takedown that too. But who even needs a browser? Let's issue a takedown for the GNU Project while we're at it because I could use wget to do the same thing. In fact, I could write my own program to illegally download content, so we better just get rid of computers altogether.
Stop attacking useful tools just because they can be used to do bad things! Youtube-dl should obviously change their README to get rid of the copyright-infringing example, but this DMCA takedown is otherwise rotten from the core.
https://www.youtube.com/watch?v=HUEvRyemKSg
https://en.wikisource.org/wiki/The_Coming_War_on_General_Com...
I'd argue, cautiously, that general computation is already an exception. That's why I prefer Linux to Windows. On Linux I can issue a command from a general command interface (the CLI) to just play a video. If I only want audio, it's an option away. I can script things together. Most of my tools are interoperable. That's because I use FOSS, free protocols, free formats, free tech in general. Everything works together and everything augments each other. Windows, the popular workstation, is no that. It's a system of systems, where everything is a monolithic closed box that you can't get inside. It's inside your computer, you use it, but it's not yours. It's on loan from someone else. Interoperability is virtually non-existent, and there isn't such a thing as a usable CLI (an environment that would connect everything together). That's not general computing, I argue. General computing involves ther power to generalize, use the computing technology in arbitrary ways. Closed software, customer lock-in and all that other corporate bs is the anti-thesis of that.
Longer rant than expected. I find it a frustrating issue. Mostly because I intimately feel like we're paying a very high price for the greed of the few.
I use the same video player on Windows that you use on Linux, mpv. And I have a ton of scripts I use to navigate my video library. Windows doesn't put any burden on apps to not be interoperable. Plenty of apps interoperate just fine.
One such example is Intel ME. In the future, if the compute paradigm shifts towards something cloud-like, we might all be "stuck" inside an isolated Intel SGX container (or vice versa).
https://www.law.cornell.edu/uscode/text/17/1201
(2)No person shall manufacture, import, offer to the public, provide, or otherwise traffic in any technology, product, service, device, component, or part thereof, that—
(A)is primarily designed or produced for the purpose of circumventing a technological measure that effectively controls access to a work protected under this title;
(B)has only limited commercially significant purpose or use other than to circumvent a technological measure that effectively controls access to a work protected under this title; or
(C)is marketed by that person or another acting in concert with that person with that person’s knowledge for use in circumventing a technological measure that effectively controls access to a work protected under this title.
You can argue that youtube-dl facilitates making copies of copyrighted works; that's easy. But the items A, B, and C that you quote all require circumventing a technological measure that controls access to a protected work. And youtube videos, in the general case, have completely uncontrolled access. You can't circumvent measures that don't exist.
You don't have to be technically correct, you have to be legally correct. It's like technically correct only it's way more pedantic
I believe in the youtube-dl case allowing you to consume videos outside of the T&S is the crime and the automated scale is the punative factor.
IANAL and I don't agree with this; just responding to the parent statement of "You can't circumvent measures that don't exist"
C is harder, given the README.md examples.
(A) to “circumvent protection afforded by a technological measure” means avoiding, bypassing, removing, deactivating, or otherwise impairing a technological measure; and
(B) a technological measure “effectively protects a right of a copyright owner under this title” if the measure, in the ordinary course of its operation, prevents, restricts, or otherwise limits the exercise of a right of a copyright owner under this title.
I don't believe the protections that youtube-dl works around qualify under the definition 1201(b)(2)(B) here, but I would definitely want to confer with a lawyer before posting a DMCA counterclaim.
A simple "cease and desist" against the youtube-dl project regarding their README examples almost certainly would have been sufficient. Instead, the RIAA took needlessly drastic measures with a DMCA takedown that paints RIAA as a poor defenseless victim from start to finish. This was not an attempt to right a minor copyright infringement, this was a public declaration from RIAA that they are aware of and object to the youtube-dl project.
This part of the DMCA takedown document is particularly rotten:
> 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.
This is the kind of thing is that lawyers do, because this is what they're paid to do.
You cannot win this by simply saying "Hands off our code - this is outrageous" because that's not how the law works.
If you want to make an argument agains this you literally have to make it stand up in court, and that is not easy.
While lawyers are sometimes foul and shameless creatures, the engineering community does not seem to understand that it is not playing on its own turf here.
If you do not take the time to understand the rules of the game you will lose hard. In this case the RIAA could easily have sued for damages and loss of earnings - and it would probably win that case if it came to court, although someone in counsel probably argued (wisely) that it wouldn't be worth the Streisand Effect damage.
The technological measure itself doesn't even have to be primarily about preventing copyright infringement. It suffices that it effectively controls access to relevant works, even if it's not its primary purpose.
We could even argue that YouTube's restriction are primarily a means of getting people back to YouTube, with copyright enforcement being only a secondary concern. Sadly, this argument would be irrelevant with respect to (A) and (B).
This whole thing is silly.
Suggesting people "think of the children" as they download porn is perhaps not the best advice.
Why not ban the pen, since it can be used to hand copy books. RIAA needs to stay in their lane.
Upd: In another thread, the "Betamax case" was cited.
Writable CDs came soon after which was probably going to kill DAT market no matter what.
The chosen example gave RIAA the ammo it needed to attack this tool.
youtube-dl, a YouTube downloader in Python:
https://jugad2.blogspot.com/2013/03/youtube-dl-yourube-downl...
pafy - Python API for YouTube:
https://jugad2.blogspot.com/2014/06/pafy-python-api-for-yout...
youtube-dl, Python video download tool, on front page of Hacker News (2014):
https://jugad2.blogspot.com/2014/11/youtube-dl-python-video-...
How to download PyCon US 2013 videos for offline viewing using youtube-dl:
https://jugad2.blogspot.com/2013/04/how-to-download-pycon-us...
[1] https://github.com/blackjack4494/youtube-dlc [2] https://github.com/github/dmca/blob/master/2020/10/2020-10-2...
Even if the content is not in violation of DMCA, your files will be gone for a day or two, or longer depending on how slow the publishing platform operators are to process the counter claim and how long it takes to file the counter claim.
No, they aren't obligated to do anything.
Github is immunized from any liability they would otherwise have to the complaining party for hosting the material affected by the notice if they comply within the parameters of the DMCA safe harbor provision (which requires action "expeditiously" rather than "immediately") when they receive a notice.
This is semantics. Because github absolutely would not be able to exist if it lost its safe harbor protections.
So, it is "obligated", in that if it does not follow these laws, then it will 100% have shut down, eventually, due to business reasons.
If the alternative to doing a certain action, is that your business will almost certainly be shut down eventually, then I think that is a reasonable situation to use the word "obligated" for.
I'm halfway serious.
That is one of nicer things that one say about the Recording Industry Association of America.
If so, then I'm curious about the legality of a counter-attack: Look at any websites, photos, music, videos, and text presented online by everyone represented by the RIAA. If anyone in a competent jurisdiction sees any similarity to prior art that they've created, even if it's their 2nd grade writing assignment, hit them with a DMCA takedown notice.
After all, we just need a good-faith belief that it might fly in some court somewhere, right?
They have a choice, but if they would be liable for hosting the content but for the DMCA safe harbor, failing to take it down when they receive compliant takedown notice means that they are then exposed to that liability because they are outside of the safe harbor.
I'm speaking exactly about decentralized publishing. Where the repository is mirrored in content addressed network, so there is no specific location(s) to take down.
(I realize it is problematic, because even with content addressed mirroring, the people who actually host the replicas of the content, can be accused of distributing prohibited content, but still it's more difficult to censor, and maybe those problems are solvable).
Just curious.
GitTorrent: A Decentralized GitHub (2015) (printf.net): https://news.ycombinator.com/item?id=24874994
While in the current topic my comment adout decentralization is downvoted to the bottom of the multi page comment thread.
Mpv uses it, ffmpeg can use it.
It's a generalized tool just like a hammer, the dreaded murder or construction weapon depending on intent..
The DMCA has always been a way of forbidding tools, as if that's the kind of nanny state we want: trusted with assault rifles but not trusted with a python script.
Alright chill, makes total sense
Imagine yourself stumbling upon some incredible technology breakthrough. Let's say, it's some magical script you wrote that automatically improves the efficiency of any container by 70%+. You've worked for years on this specific problem, went broke a couple of times trying to figure it out, and finally struck gold. You form a company, issue that IP to the company, and start getting rich.
Then one day, literally Google comes along and posts your script to some website they own, without your permission. They did this illegally, without your permission, by using this other neat script called gofyourself-dl. You have a problem now. Every is improving their containers or whatever for free. Your company loses revenue every day because why would anyone pay you for tech they can get for free from Google?
What can you do? Sue Google? Good luck with that! No, you would complain to a regulator, which is the only real power (sort of) against that kind of money. You would try and convince that regulator to stop Google from stealing your IP and getting rich from it because it is YOUR IP and YOU should get rich from it. In the meantime, since gofyourself-dl is the way people are stealing your IP, you naturally try to get that taken down because IT IS BEING USED TO STEAL YOUR IP.
Stealing IP is exactly what YouTube is - and has been - doing, for years. There is this weird idea that the major record labels (who fund the RIAA) have unlimited money and are just as evil as blah blah blah, in reality the entire music economy is a minuscule fraction of Google's market cap, power, size, influence, everything, and large tech companies have no real incentive to deal with them in the standard cases because why would an elephant concern itself with an ant.
It sucks to do this to an open source repo, but everything they are saying in this memo is true - this technology is obviously being used to STEAL IP. Its primary focus is the THEFT OF IP. DMCA is a shitty blunt instrument that no one likes, don't for a second think the RIAA is thrilled with that mechanism, but what else are they supposed to do? What would you do if it was someone stealing your proprietary code and posting everywhere after having stolen it from you?
> don't for a second think the RIAA is thrilled with that mechanism
What would they prefer doing? Arrest people who are using youtube-dl to listen to music? Go after people who are rehosting music from youtube on their website?