r/programming •

[deleted by user]

[deleted] — view deleted post

0 Upvotes

1.4k comments sorted by

616

u/timsredditusername Oct 23 '20

So, the RIAA is leveraging a regional German court decision to apply to US law?

We'll see how that one plays out.

382

u/[deleted] Oct 23 '20

Especially since the biggest German court (Bundesgerichtshof) did not agree with that decision.

→ More replies (25)
→ More replies (18)

1.6k

u/thataccountforporn Oct 23 '20

I really expect a massive Streisand effect on this one. I suspect a bunch of people have copies of the source code and it's under public domain, there's gonna be new copies of the repo on many different git sites and it's gonna become a whack-a-mol for RIAA...

955

u/MotorolaDroidMofo Oct 23 '20

You can't kill open source. What we call youtube-dl might die but the actual code will live on and continue to be maintained, I'm sure of it.

→ More replies (108)

431

u/Asraelite Oct 23 '20

I'm more concerned about what this implies for the development of the library. It's in a constant arms race with YouTube and other sites to remain working, and winning that arms race is only possible with many people actively working on the project at all times.

If it's not hosted on GitHub, or any other major repo host, then it will be harder to coordinate development efforts and attract contributions from the public, likely slowing down development.

→ More replies (81)

79

u/vamediah Oct 23 '20

The problem is different. You can get the copy, but maintenance will definitely suffer when youtube or some of the supported site break that last currently working way of download.

→ More replies (16)

96

u/Routine_Left Oct 23 '20

I mean, killing Napster gave us torrents.

→ More replies (11)

14

u/[deleted] Oct 23 '20

Internet archive also has many copies

→ More replies (2)

60

u/skylarmt Oct 23 '20 edited Oct 23 '20

Yeah I'll be putting a mirror of it on my Git server later today when I'm at a computer. They can send me letters all they want, I run my stuff on a dedicated server so they'll have to contact me directly, not a hosting provider.

Edit: mirror

→ More replies (26)
→ More replies (20)

502

u/AggravatingReindeer8 Oct 23 '20

You can still download it from PyPi so looks like the RIAA don't understand Python, yet.

archive.org link: https://web.archive.org/web/20201018144703/https://github.com/ytdl-org/youtube-dl (thanks to Hacker news user jaspergilley)

161

u/SchmidlerOnTheRoof Oct 23 '20

I wonder if the RIAA is gonna try sending anyone to plunder it out of the Arctic Code Vault

→ More replies (2)

128

u/obsa Oct 23 '20 edited Oct 23 '20

I was able to use that to still get a ZIP code of master which is current to a ChangeLog version of 2020.09.20.

Archiving this for science ...

→ More replies (11)

100

u/Caraes_Naur Oct 23 '20

the RIAA don't understand Python, yet

Well, they wouldn't download a snake.

18

u/kontekisuto Oct 23 '20

They don't understand the pips

→ More replies (1)
→ More replies (15)

991

u/[deleted] Oct 23 '20

We also note that the source code prominently includes as sample uses of the source code the downloading of copies of our members’ copyrighted sound recordings and music videos, as noted in Exhibit A hereto.

Seems like a bad idea to use music videos as the examples. Hopefully this is sorted out as youtube-dl is an incredibly valuable tool.

As of right now, the repo is locked and inaccessible on GitHub.

705

u/phihag Oct 23 '20 edited Oct 23 '20

These were not examples, but test cases.

As a former maintainer of youtube-dl, I sincerely hope that somebody rescues the project, removing the offending code – it's a very small part of the whole project after all, not worth the trouble.

As I'm currently being sued facing legal action about my involvement (despite it ending a long time ago) and have plenty of other open-source projects deserving love, I'm sad it can't be me.

→ More replies (60)

59

u/Compsky Oct 23 '20

Unfortunately the owner of the repository might not want to risk fighting a lawsuit.

Even though the argument seems to hinge on it enabling piracy - much like torrenting software, or indeed even browsers and operating systems - the music industry can throw more at lawyers than some code hobbyist.

→ More replies (5)

273

u/tempest_ Oct 23 '20

If only someone had a copy of the repository.....

It would be nice if git based projects had some more decentralization as Github seems to be growing and growing and is vulnerable to things like this.

→ More replies (60)

63

u/suema Oct 23 '20 edited Oct 23 '20

circumventing a technological measure that effectively controls access to copyrighted sound recordings on YouTube, including copyrighted sound recordings owned by our members. For further context, please see the attached court decision from the Hamburg Regional Court that describes the technological measure at issue (known as YouTube’s “rolling cipher”)

What's even funnier is how youtube serves its videos. Basically they send you a mangled CDN URL and then some JS to descramble it. Technological measure that effectively controls access to fuck all. https://gitlab.com/zipdox/youtube-dl/-/blob/master/youtube_dl/extractor/youtube.py#L1369

→ More replies (8)
→ More replies (33)

729

u/MotorolaDroidMofo Oct 23 '20 edited Oct 23 '20

"Thank God the RIAA exists"

— No one ever

479

u/slashgrin Oct 23 '20

A musician without the RIAA is like a fish without a bicycle.

→ More replies (8)

62

u/ethics_in_disco Oct 24 '20

The RIAA exists to be a lightning rod. Their mission is to do all the awful shit the record companies want to do but don't want any backlash for.

The fact that so many people here are screaming about the RIAA and not the companies behind it proves it's working as intended.

→ More replies (1)

22

u/redwall_hp Oct 23 '20

Time to dust off the old and always relevant "fuck the RIAA!"

10

u/Gigolo_Jesus Oct 23 '20

Lars Ülrich would like a word....

→ More replies (1)
→ More replies (6)

446

u/[deleted] Oct 23 '20 edited Oct 24 '20

The DMCA needs reform in the HTTPS era and the RIAA is the most complete collection of out of touch old cunts that need to disappear.

That said, youtube-dl using copyrighted music in its examples unit tests is apocalyptically stupid.

175

u/kairos Oct 23 '20

The DMCA needs reform in the HTTPS era and the RIAA is the most complete collection of out of touch old cunts that need to disappear.

Here in Portugal we've got the SPA (Portuguese author's society) who managed to get a tax on everything that has storage, because it may be used for piracy.

→ More replies (35)

104

u/ritobanrc Oct 23 '20

most complete collection of out of touch old cunts

They're not out of touch, they know exactly what they're doing. This isn't some boomer yelling at the screen about kids pirating music, it's a carefully crafted and planned out attempt to maximize their profit and force everyone to use a streaming service so they can monetize every second of you listening.

→ More replies (1)

37

u/pagwin Oct 23 '20

youtube-dl using copyrighted music in its examples is apocalyptically stupid.

but should be easy to fix if github plays ball

→ More replies (5)
→ More replies (11)

485

u/Glacia Oct 23 '20

How is this legal? By that logic using Windows is illegal because you can download anything with it.

95

u/phil_g Oct 23 '20

The DMCA makes it illegal (in the United States) to write or distribute programs whose primary purpose is to facilitate copyright infringement. (It's also illegal to promote the copyright-infringing use of an otherwise legal program.)

The "primary purpose" bit is key here. If you can show that your software has many purposes, like an operating system would, you shouldn't be subject to this provision of the DMCA.

The RIAA's lawyers are arguing in their takedown notice that youtube-dl's primary purpose is to circumvent measures that YouTube has in place to prevent unauthorized distribution of copyrighted material. Their position is bolstered by the fact that some of the examples in the youtube-dl documentation specifically show how to download content whose copyright is owned by corporations represented by the RIAA.

Note that the DMCA basically says the hosting service (GitHub here) has to take down material when it receives a notice of this sort. The remedies available to the repository owner are basically to file a counter notice (which GitHub at least makes easy to do) and, if they suffered any loss from the takedown, to sue the people who sent the notice (the RIAA) in court. That ends up heavily stacking the deck in favor of large, moneyed interests like the RIAA.

→ More replies (46)

46

u/MyWorkAccountThisIs Oct 23 '20

It's not about what's legal. It's what you can afford to say is legal or isn't.

And let's say "you" have money. Like Apple/Microsoft/Amazon/Spotify had created this and the RIAA went after then. Any of them could buy and sell the RIAA on a Tuesday afternoon but they have to play nice because they like selling music.

I'm usually not that cynical but in this case it seem appropriate.

→ More replies (85)

1.1k

u/SidewaysGate Oct 23 '20

It's client side? It's mine. Fuck your shit. Fuck your couch. It ran through my computer. Get your filthy hands off me.

Fuck the RIAA.

→ More replies (42)

144

u/issaaccbb Oct 23 '20

Found a clone that was up to date as of today. It might have been missed because it is not a fork. Grab it while its hot! (Edit: Looks like it was created today as a mirror)

https://github.com/l1ving/youtube-dl

Credit to the person who actually found it

https://www.reddit.com/r/DataHoarder/comments/jgtzum/youtubedl_repo_had_been_dmcad/g9sihvy?utm_source=share&utm_medium=web2x&context=3

42

u/zero_divide_1 Oct 24 '20

The maintainer of the fork is actively updating the repo as we speak, with some verbiage changes on the readme pertaining to using it to circumvent copyright. Literally changed it less than 10 minutes ago.

→ More replies (8)
→ More replies (7)

62

u/dredmorbius Oct 23 '20

The notice, in part:

... The clear purpose of this source code is to (i) circumvent the technological protection measures used by authorized streaming services such as YouTube, and (ii) reproduce and distribute music videos and sound recordings owned by our member companies without authorization for such use. We note that the source code is described on GitHub as “a command-line program to download videos from YouTube.com and a few more sites.” ...

https://github.com/github/dmca/blob/master/2020/10/2020-10-23-RIAA.md

Various coverage, discussion, and related topics

Micah F. Lee (EFF/The Intercept @micahflee@mastodon.social https://nitter.net/micahflee/status/1319746131723628544?ref_src=twsrc%5Egoogle%7Ctwcamp%5Eserp%7Ctwgr%5Etweet

"RIAA blitz takes down 18 GitHub projects used for downloading YouTube videos" https://www.zdnet.com/article/riaa-blitz-takes-down-18-github-projects-used-for-downloading-youtube-videos/

HN discussion: https://news.ycombinator.com/item?id=24872911

Reddit: https://old.reddit.com/r/programming/comments/jgub36/youtubedl_just_received_a_dmca_takedown_from_riaa/ https://old.reddit.com/r/DataHoarder/comments/jgtzum/youtubedl_repo_had_been_dmcad/ https://old.reddit.com/r/linux/comments/jgubfx/youtubedl_github_repo_taken_down_due_to_dmca/ https://old.reddit.com/r/youtubedl/comments/jgttnc/youtubedl_github_repository_disabled_due_to_a/

Reddit search: https://old.reddit.com/r/dredmorbius/search/?q=youtube-dl+dmca&sort=relevance&t=all

Nitter/Birbsite: https://nitter.net/search?f=tweets&q=youtube-dl+riaa+dmca&since=&until=&near=

Censorship, propaganda, surveillance, and targeted manipulation are inherent characteristics of monopoly: https://joindiaspora.com/posts/7bfcf170eefc013863fa002590d8e506 (my own recent realisation).

RMS, "The Right to Read" (1997): https://www.gnu.org/philosophy/right-to-read.en.html

Remember that the RIAA is a strong-arm and bad-publicity-deflection cartel of its major members. These are:

  • Sony / Sony Music
  • Universal Music
  • Atlantic Records
  • Disney
  • Exceleration Music
  • Interscope Geffen A&M
  • Nonesuch Records
  • Partisan Records
  • Provident Music
  • Sire Records
  • Tommy Boy
  • Warner Music

Strategically / tactically, the most interesting aspect of this attack is that it puts Microsoft on notice to show its true colours. Is it Friend of Free Software, or Copyright Maximalist?

20

u/ElusiveGuy Oct 24 '20

Strategically / tactically, the most interesting aspect of this attack is that it puts Microsoft on notice to show its true colours. Is it Friend of Free Software, or Copyright Maximalist?

Does it? As far as DMCA goes, Microsoft/GitHub has no horse in this race. youtube-dl owners file a counter-notice, Microsoft/GitHub put it back up in 10-14 days, the rest of it moves to court/lawsuit. Microsoft/GitHub actually can't do anything under DMCA as they are operating purely as the service provider.

→ More replies (3)
→ More replies (6)

110

u/[deleted] Oct 23 '20

RIAA is on a roll. First going after Twitch streamers causing decades of VODs to be deleted (either by Twitch or the streamers themselves), now Youtube-dl. ...what does RIAA/MPAA really bring to the table these days? All it seems to be is anti-consumerism with cobwebs from not being able to adapt to technology. I'd gladly pay a few bucks a month if it meant these scumbags would get dissolved.

→ More replies (14)

36

u/kmeisthax Oct 23 '20

If YouTube's obfuscation of video URLs constitutes a technical protection measure than why the hell did we let Netflix pump their shitty DRM into HTML5 when this is good enough?

36

u/happyscrappy Oct 23 '20

Courts have in the past already ruled that source code does not constitute a "device" and so is not subject to DMCA takedown.

I thought this happened with x264 but maybe I'm mistaken?

→ More replies (1)

35

u/Feynt Oct 23 '20

God fucking damn it, RIAA. Have you learned nothing? If people want a copy of some music, they're going to get a copy of that music. You're not stopping anything, and in fact just wasting money and time. Go disband, fuckin' leeches.

→ More replies (1)

201

u/hrpeanut Oct 23 '20

This is the stupidest thing ever. Well, ok so it's 2020 so maybe it's not quite at that bar.

Youtube-dl is a client-side application. It does nothing that the server (like youtube) doesn't provide. When a client connects and streams data, the data becomes available to the consumer's machine. Youtube-dl just takes that data and slightly modifies it to make it nice and reusable.

If youtube-dl goes down, there will be a billion more to replace it.

88

u/BobFloss Oct 23 '20

They should also ban web browsers because they can be used to access copyrighted content. Oh, and they should ban speakers because they can play copyrighted content aloud!

→ More replies (5)
→ More replies (7)

33

u/Shiitty_redditor Oct 23 '20

How coincidental this happens the day after google play music dies..

→ More replies (3)

220

u/robvdl Oct 23 '20 edited Oct 23 '20

The problem is that it is becoming increasingly difficult to purchase music without streaming services. Streaming services have ruined it for me, I want to play offline music in my car but all my favourite artists have stopped selling CDs I can rip (for personal use) and stopped selling downloadable music, moving it all to monthly streaming services. RIAA don't realise they have caused this themselves. So I use youtube-dl sometimes to download stuff as it's the only way besides torrents to get offline music.

190

u/MotorolaDroidMofo Oct 23 '20

This. The entertainment industry doesn't realize that most people are completely willing to pay for music, movies, TV shows, video games, books, you name it. That is, as long as it's convenient. Don't take away my options. Don't force me to get a subscription when I want to buy or rent a single thing. Don't use DRM so restrictive that I can't use stuff offline or on my Linux laptop. That is the bullshit that drives people to piracy.

96

u/CognitiveDiagonal Oct 23 '20 edited Oct 23 '20

I think what is (probably) gonna kill streaming and bring back torrents is fragmentation.

You have to pay for 4 or 5 services to get the movies/series you want, and on top of that another music service, etc... You have to end up paying upwards of 50€/$/£.. to listen to music and watch the series you want.

It’s complete bullshit, and they’ve brought it upon themselves.

→ More replies (8)
→ More replies (4)

63

u/freeradicalx Oct 23 '20

For DRM-free music in a multitude of formats with the majority of profit going directly to the artist, Bandcamp is one of the last remaining holdouts and they're pretty great. Took my piracy rate from 100% to ~95%! I don't go anywhere near music leasing (Streaming) services.

→ More replies (3)
→ More replies (81)

32

u/Green0Photon Oct 24 '20

Fuuuuuuuuck!!! youtube-dl is one of my most favorite apps that exist. It's a dumb name, because it doesn't only download from YouTube -- it also downloads from a metric shitton of other sites too. And for all of these, there's no DRM that's being cracked. It's just standard video streaming technology. Such bullshit.

I really hope that this project doesn't die. It's too useful to save backup recordings for it to die.

What the fuck.

→ More replies (1)

52

u/msleaveamix Oct 23 '20

This is totally absurd...

126

u/mobyte Oct 23 '20

Copyright in the US is a fucking travesty and is going to implode on itself sooner or later.

67

u/perspectiveiskey Oct 23 '20

Not just copyright, IP in general. USPTO is a tape worm.

It will drag the fabric of society with it.

→ More replies (4)
→ More replies (6)

17

u/paulaumetro Oct 24 '20 edited Oct 24 '20

Sony Corp. of America v. Universal City Studios, Inc.

Sony Corp. of America v. Universal City Studios, Inc., 464 U.S. 417 (1984), also known as the “Betamax case”, is a decision by the Supreme Court of the United States which ruled that the making of individual copies of complete television shows for purposes of time shifting does not constitute copyright infringement, but is fair use. The Court also ruled that the manufacturers of home video recording devices, such as Betamax or other VCRs (referred to as VTRs in the case), cannot be liable for infringement. The case was a boon to the home video market, as it created a legal safe haven for the technology.

The youtube-dl has a lot of non-infringing applications, including:

  • Lawyers or police can use the application to archive evidence.
  • Videos that are released with a Creative Commons License are not protected
  • Downloading videos that are too old to be covered by copyright law do not infringe copyright
  • Videos are often created by the government with no restrictions
  • Creators can use the program to back up copies of their videos in case of a computer failure
  • Users who have a "sanctioned use" such as criticism, satire, use for learning by students can use the application to get the contents to work with.

I understand why RIAA is taking this action, because Google recently deactivated Google Music, and now YouTube Music is Google's only music platform. I am not a lawyer, but given the precedent of the Universal-Sony video recorder case, I am not sure if they have a winning legal argument in the USA. It makes as much sense as going after the manufacturer of cooking knives if a angry guy uses a cooking knife in the commission of an illegal activity.

I have a Creative SoundBlaster analog to digital convertor that could be used to record the soundtrack of YouTube videos. Are they going to go after AD converter manufacturers too?

13

u/cogpryer Oct 24 '20

Before covid, our county commissioners were streaming meetings on Youtube; now pretty much all local bodies, including churches, have been livestreaming to encourage social distancing. Youtube-dl was a wonderful utility to allow saving and sharing with others with spottier rural Internet.

Completely non-infringing.

But lets throw the baby out with the bath water because UMG thinks someone is voluntarily watching Taylor Swift. Or, for that matter, a one-hit wonder group from 2009. The RIAA needs to choke on a whole bag of dicks.

→ More replies (1)
→ More replies (4)

16

u/northrupthebandgeek Oct 23 '20

This is why open source projects should be syndicating their repos across hosts. I've started to do so for my own projects (by including multiple remotes in my repos, such that every git push pushes to all of 'em at once).

30

u/bcroq Oct 23 '20

When they find that the web browsers have to download the video so we can watch it, will they also try take them down?

24

u/mindbleach Oct 23 '20

Public videos are broadcasting.

This is a VCR.

Identical functionality could come from a modified browser, viewing the video on Youtube.com, and saving the incoming data. Unless the RIAA is arguing that saving a file they sent you is piracy - fuck off.

9

u/sally1620 Oct 24 '20

Nowadays hooking up a video recorder to output of your cable box is also illegal. Almost all HDMI signal is encrypted nowadays.

→ More replies (4)

22

u/zweta1 Oct 23 '20

Just found another tool called youtubedr. It's written in golang. It's available on Termux's apt repository.

→ More replies (2)

22

u/telionn Oct 23 '20

This isn't a DMCA takedown. It's a cease and desist letter citing the DMCA.

The difference matters. GitHub is required to honor DMCA takedowns. Other legal requests are granted on a case by case basis.

→ More replies (1)

10

u/[deleted] Oct 24 '20

Next thing they’ll do is try to shut down inspect mode on your browser because it shows where the temp video files are on your own pc that contain the videos.

8

u/[deleted] Oct 24 '20 edited Oct 24 '20

Fork bomb and remove any association with the original maintainer. Don't fork with your main github account to prevent cooky shit like getting banned. Fork to different git repos as well: gitlab or whatever. Contact people in "less lawful" countries / nations: Christmas island, zimbabwe, israel, china to get several points of hosting going. Do not host in the USA or Germany. If you're in any way affiliated with ytdl drop any forks you have on your main account and create shadow accounts to continue maintaining.

Push the point that ytdl is used for archiving and historical purposes only. There are hundreds of free, open sourced videos on youtube that literally have no copyrights on them. The destruction of an "archival tool" for said videos does not in any way, shape or form reduce the amount of copyright infringement when compared to other youtube-video-downloading tools which are available from Google right now.

Do not under any circumstance believe that this is the "end of ytdl". This is the loser-mentality that these companies hope for when sending these threat letters. Kazaa and other p2p networks had to deal with the same garbage and a bunch of them are still around today.

25

u/[deleted] Oct 23 '20

Gitee, Chinese based git. Let America try to DMCA it. laughs in President Xi.

→ More replies (2)

14

u/froggie-style-meme Oct 23 '20

Did they really just copyright software that wasn't even intended to rip their shit?

7

u/theephie Oct 23 '20

The top comment should be link to a mirror.

So does anyone have a recent clone of the repository?

→ More replies (2)

7

u/greenlanternfifo Oct 24 '20

absolute bullshit. i use it to archive tutorials, documentaries, and just non-profit content. These kinds of videos go down all the time.

7

u/[deleted] Oct 24 '20

Fuck the RIAA

12

u/DarkyHelmety Oct 23 '20

By that logic pens should be illegal as they can be used to transcribe copyrighted works. SMH, what a disgrace.

7

u/masamunecyrus Oct 24 '20

Don't forget to purchase a license for the use of the Latin alphabet with that pen. The Alphabet is among the most powerful tools for copyright infringement invented in human history, and therefore its use is strictly controlled by rights holders.

→ More replies (1)
→ More replies (2)

6

u/DrakenZA Oct 24 '20

Look kids, another crusty old entity trying to misuse a terribly written and out of date DMCA laws.

6

u/llimiagu_espacial Oct 24 '20

People who actually used youtube-dl to download Shake it Off of Taylor Swift should be in prison and not the guy who wrote the code

14

u/longcat2001 Oct 23 '20 edited Oct 23 '20

(both links in German)link to a – maybe the – decision from the Hamburg Regional Court: http://www.rechtsprechung-hamburg.de/jportal/portal/page/bsharprod.psml?doc.id=JURE180006255&st=ent&doctyp=juris-r&showdoccase=1&paramfromHL=true#focuspoint (edit: link fixed)

RA Christian Solmecke on youtube converters: https://www.youtube.com/watch?v=JKya9gLreJw

→ More replies (1)

5

u/oln Oct 23 '20

Hm, would a fork that disabled youtube, but retained other websites still be allowed on github I wonder? youtube-dl is plenty useful for other sites too.

5

u/Guinness Oct 23 '20

This seems like a huge stretch because it assumes that literally everything on YouTube is copyright protected. And there are plenty of open source royalty free music and video sources on YouTube.

However, the fact that YouTube-dl is designed to circumvent the website itself is where there may be problems.

See WoWGlider vs Blizzard. WoWGlider was third party software you ran on your own PC and it was designed to circumvent Blizzards software. The courts sided with Blizzard.

Unfortunately the reality these days is that companies have far reaching say into how you use their product on your own private property.

https://en.m.wikipedia.org/wiki/MDY_Industries,_LLC_v._Blizzard_Entertainment,_Inc.

You violate their EULA, you’re effectively breaking the law.

5

u/waylonsmithersjr Oct 24 '20

No ones mentioning it but the takedown included the names and URLs for private forks.

Just so you are aware but your private forks might be made publicly known and publicly displayed without your consent someday.

9

u/dethb0y Oct 23 '20

The RIAA (and the DMCA) are sterling examples of why i am radically against the very concept of "intellectual property"

→ More replies (1)

9

u/cdb_11 Oct 24 '20

repost from HN: https://news.ycombinator.com/item?id=24874111

The actual content of the legal argument being made by the RIAA in this and associated documents is lying by omission at best, and arguably is straight up perjury.

The only concrete circumvention they level at youtube-dl is that it "circumvents YouTube’s rolling cipher". I looked into this more, and before I go into how totally bulshit it is that they've apparently conned judges into believing this, you should read their full accusation (or just read the full DMCA letter from the RIAA):

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-someone-explain-to-riaa-that-sopa-didnt-actually-pass-it-doesnt-seem-to-know-that.shtml

[1] - https://assets.documentcloud.org/documents/3114545/YTMP3-Complaint.pdf

< 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/youtube_dl/extractor/youtube.py#L1399-1418

So to summarize, youtube creates two URLs: one that's a public video URL, and one that's the URL to the actual video content. The URL to the video content changes on a rolling basis, and is slightly rearranged. All that's true. However, what the RIAA is avoiding saying, and which completely changes the context of this discussion is:

YOUTUBE SENDS YOU BOTH URLS IN CLEARTEXT, AND INCLUDES THE CODE FOR HOW TO DOWNLOAD THE VIDEO, SO YOU AND YOUR WEB BROWSER CAN DOWNLOAD THE VIDEOS WITHOUT USING ANY ENCRYPTION/DECODING.

So when a judge asks "how is it that you're getting around this 'rolling cipher' to access the video?" all you have to say is "Youtube told me where to download the video, so I followed Youtube's instructions and downloaded it from the URL that Youtube gave me."

Frankly, I'm amazed that any judge, or any lawyer, would ever lay out or believe such bare faced lies as is being spouted by the RIAA in this document.

FUCK THE RIAA

→ More replies (8)

8

u/Quiet-Smoke-8844 Oct 23 '20

How am I expected to download pornhub videos now? Outside the command line like a commoner!?!

I'm joking, I tried it once just to see how easy the process was. The app impressed me. I never actually downloaded youtube before since I rather have high quality music files. I still have a PC with a disc drive to extract audio.

4

u/jackfusion Oct 23 '20

I forked l1ving/youtube-dl because apparently it is forked from an up to date version. jackfusion/dl

4

u/[deleted] Oct 23 '20

This still works:

$ pip install youtube-dl

→ More replies (1)

4

u/brennanfee Oct 24 '20

They can go fuck themselves straight into the grave.

4

u/KYQ_Archer Oct 24 '20

What a bunch of dicks

4

u/Rocklobster92 Oct 24 '20

I M just recording the YouTube videos to watch later. Just like with a DVR.

4

u/[deleted] Oct 24 '20

If there's one thing I've learnt about the internet is that if you try to fuck with open-source, they're going to make it 50 times easier to find the code in question.

4

u/Someguy242blue Oct 24 '20

I’m new here, so is this the equivalent for Kissanime being taken down for you all?

→ More replies (1)

4

u/leurak Oct 24 '20

HOME TAPING IS KILLING MUSIC

4

u/cdb_11 Oct 24 '20

I know it might be shocking for some people, but not everyone is consuming netflix, facebook and shitty american pop music 24/7. I couldn't care less about it. If I wanted to download it, I'd use torrents for better quality. And like any sane person, I use an adblocker, so even if I'd "properly" use a web browser to access it through youtube, it's not like they would make a single cent of me anyways.

I use youtube-dl daily to archive stuff and watch videos in a lightweight video player, because I don't want to use the bloated mess that the youtube website is.

Since the stuff goes down so often, archiving tools like youtube-dl and web archives are in my opinion the most important pieces of software in this day and age. And I really don't care if the existence of these tools is making some corporations or record labels lose money.

6

u/audion00ba Oct 23 '20

The WWW is dead. Long live the WWW.

6

u/FailedShack Oct 23 '20

Mirrored just a few hours ago from GitHub.

https://dl.nul.sh/git/youtube-dl.git

6

u/plcolin Oct 23 '20

The clear purpose of this source code is to (i) circumvent the technological protection measures used by authorized streaming services such as YouTube

Guess again, dumbasses.

→ More replies (1)

6

u/caboose0013 Oct 24 '20

I find it discusting that microsoft accepted this bullshit. What a disgrace, they should have fought it in court.

Fuck you microsoft.

→ More replies (1)

50

u/[deleted] Oct 23 '20

For me, this is the death of github

Free and open source software my ass

Whats next, the software I need to run DVDs on linux? Is that still on github?

When well they ban the kernel?

100

u/Doctor_McKay Oct 23 '20

Are you honestly surprised that GitHub has to comply with legal takedown notices?

34

u/Krohnos Oct 23 '20

To expand on this, a company is required by law to take the content down, even if the DMCA claim isn't legitimate. That is the compromise given to them in exchange for them not being liable for when a user uploads copyrighted content to their site.

→ More replies (4)
→ More replies (20)

15

u/AggravatingReindeer8 Oct 23 '20

Not really GitHub have to taken it down if they are served with a valid notice to maintain their DMCA safe harbour. The authors are free to file a counter notice with GitHub who will reinstate the repo. Any US based company would have to do the same, even if you're not US based one of your suppliers will be (AWS, Azure, GCP, DNS, transit provider etc).

14

u/apnorton Oct 23 '20

When well they ban the kernel?

The kernel is now on GitLabs.

10

u/yoniyuri Oct 23 '20

Those are mirrors. Actual kernel development takes place on a mailing list and the "master" branch is hosted on kernel.org

→ More replies (10)

3

u/Nchi Oct 23 '20

There were against vcr's too weren't they- fucking jokes

3

u/dredmorbius Oct 23 '20

Strategically / tactically, the most interesting aspect of the RIAA attack on youtube-dl to me is that it puts Microsoft on the spot to show its true colours. Is it Friend of Free Software, or Copyright Maximalist?

3

u/samfisher457 Oct 24 '20

Why? I use it on a daily basis to download videos from YouTube. It does the same thing that web browsers do. With this logic they should also ban web browsers.

→ More replies (1)

3

u/chebatron Oct 24 '20 edited Oct 24 '20

RIAA lawyers will have to send another one or two notices. These youtube-dl repos spread like wildfire.

Git lab has a fork or two as well.

→ More replies (1)

3

u/peterdinklemore Oct 24 '20

Archive and spread that shit 💪🏻💪🏻

3

u/JustMrNic3 Oct 24 '20

You gotta be kidding me DMCA takedown for an open source project ???

WTF is this and what's next, takedowns request for internet browsers, ISPS, electric power company ?

3

u/[deleted] Oct 24 '20

YouTube started out as a service to record Your life. That's what "You" in youtube is supposed to mean. Now it has been ruined by greedy money minded people who think they can exist without the people.

3

u/anor_wondo Oct 24 '20

So they allow say, chrome to download videos for watching but not a client like youtube-dl. So what exactly is a 'web browser'? If I use curl on some youtube resource, I'm infringing copyright?

3

u/[deleted] Oct 24 '20

the RIAA are so fucking stupid

3

u/azdweller Oct 24 '20

I'm shocked that the RIAA still exists in 2020

3

u/wk4327 Oct 28 '20

Can we already add RIAA to the list of terrorist organizations?...

→ More replies (1)

5

u/ourfella Oct 23 '20

We need a github that ignores dcma requests

→ More replies (1)

4

u/[deleted] Oct 24 '20

for the purpose of circumventing YouTube’s technological measures

By what? Using web standards and technologies implemented by literally every browser and promulgated by widely respected standards bodies that made the internet and the web possible?

Eat me. This is like the RIAA suing Sony for making combo radio/cassette tape players with a "record" function.

2

u/[deleted] Oct 23 '20

The RIAA is in overdrive right now.

2

u/scotty3281 Oct 23 '20

This was inevitable. All the main Youtube download sites have already been taken down. This was the next project to get the RIAA notice. Good luck getting rid of it like a website though.

The RIAA is shit and I am not defending their actions. I just knew this was going to happen sooner or later.

2

u/andrewmyles Oct 23 '20

Fucking idiots.

2

u/loopyNid Oct 24 '20

Please rescue the project :(

2

u/brakertech Oct 24 '20

Install on Mac:

sudo -H pip install --upgrade youtube-dl

2

u/norweeg Oct 24 '20

has anyone contacted the EFF??

2

u/[deleted] Oct 24 '20

Man fuck these copyright ghouls

2

u/Gamerappa Oct 24 '20

it seems youtube is trying to prevent people from downloading videos (i'm guessing because of money). a lot of bootleg video downloading sites seemly broke overnight lately, and firefox throws out a error when i try downloading my video from my youtube studio.

2

u/lannisterstark Oct 24 '20

The people who got the dmca should band together and should trying making RIAA employees' lives as much hell as they can until they quit.

2

u/[deleted] Oct 24 '20

I don’t understand this at all... what’s the difference between downloading^ a video via a webbrowser and downloading^ via a terminal browser? The actual source remains YouTube.

(downloading == streaming because there is no actual protection on YouTube)

→ More replies (3)

2

u/MBouh Oct 24 '20

It's funny how some code to download a music is more illegal than firearms.

2

u/MentalMachine Oct 24 '20

How does this legally make sense? A browser (ostensibly) makes requests to a YouTube server the sends back the video, said video is stored in pieces on a computer and then played.

The code does virtually the same thing except now its storing the full video on storage, the difference being that when using YouTube traditionally you would never have all the 'pieces' on your computer at any one time.

Somewhat contrived example from a different domain (and hence completely different rules, I'd assume), but if this is in violation how was recording/DVR-ing legal? That too is storing a streamed media on persistent storage?

2

u/[deleted] Oct 24 '20

Fuck the RIAA. They can try, but they will never take down youtube-dl

2

u/waltpinkman Oct 24 '20

If the US gov can block usage of tools which could financially harm an industry why can't they block real guns which are doing much more damages when used ? 😒

2

u/peterdinklemore Oct 24 '20

Archive and spread that shit 💪🏻💪🏻

2

u/RoqueNE Oct 24 '20 edited Jul 12 '23

On 2023-07-01 Reddit maliciously attacked its own user base by changing how its API was accessed, thereby pricing genuinely useful and highly valuable third-party apps out of existence. In protest, this comment has been overwritten with this message - because “deleted” comments can be restored - such that Reddit can no longer profit from this free, user-contributed content. I apologize for this inconvenience.

2

u/backafterdeleting Oct 24 '20

Everyone arguing about whether youtube-dl could have legitimate uses other than copyright violation.

It didn't even occur to me that people were using it for that. I just assumed 99% of people just used it to watch youtube videos offline.

2

u/[deleted] Oct 24 '20

I wonder if we will move to a world where RIAA music will not be used on the internet.

2

u/throwaway1_x Oct 24 '20

Welp I expected YouTube to do the takedowns and not some music label associations

2

u/dlq84 Oct 24 '20 edited Oct 24 '20

Dude, do they really think they cam can a script that allows you to fetch media files from command line... They don't own the code so DMCA doesn't apply... I hope the devs starts a gofundme and sue their asses.

2

u/[deleted] Oct 24 '20

fuck. im using that in my discord bot

2

u/djnature333 Oct 24 '20

out of curiosity can someone explain this/what’s going on to non programmers? please and thank you!!

→ More replies (2)

2

u/Skates2077 Oct 24 '20

I'm so lost can someone explain what's happening?

→ More replies (1)

2

u/BLucky_RD Oct 24 '20

What about youtube-dlc?

→ More replies (3)

2

u/OutInABlazeOfGlory Oct 24 '20

This smells like bullshit. youtube-dL can be used to download music, it it can also be used to download gaming VODs, makeup tutorials, or shitposts. They just want youtube-dl to put DRM in their software for them. If they don’t want it to be easy to download music videos on YouTube that’s something they need to take up with YouTube.

→ More replies (2)

2

u/b4ux1t3 Oct 24 '20

Better start banning Linux, since people use it to download music illegally.

Wait, they use Windows and OSX, too.

Ban them.

3

u/Chrs987 Oct 24 '20

Ohhhh man wait until they hear what BitTorrent clients are used for!

→ More replies (2)

2

u/octnoir Oct 24 '20

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:

  • Icona Pop – I Love It (feat. Charli XCX) [Official Video], owned by Warner Music Group
  • Justin Timberlake – Tunnel Vision (Explicit), owned by Sony Music Group
  • Taylor Swift – Shake it Off, owned/exclusively licensed by Universal Music Group

RIAA aside, this seems pretty inadvisable to actually include in your source code. Is this a legit claim and the author actually put in copyrighted song samples in their code?

→ More replies (2)

2

u/[deleted] Oct 24 '20

They can move the repo to a non-US based hosting and tell everyone to go pound some salt.

US hosting is too legally encumbered anyways for such projects.

→ More replies (11)

2

u/[deleted] Oct 24 '20

Just downloaded it the other day too lol

→ More replies (1)

2

u/dj_zango Oct 24 '20

So because of the RIAA's actions, I've learned about ZeroNet, IPFS, Porpcorn-Time and Deemix.

<s> Way to go RIAA! No unintended consequences there. </s>

→ More replies (1)

2

u/JawsOfLife24 Oct 25 '20

Can private repos be taken down based on a DMCA claim?

3

u/ConradBHart42 Oct 23 '20

RIAA seems to be going ham, they recently did a bunch of shit to Twitch too. Probably retaliatory for giving AOC and Ilhan Omar a platform. Anything to keep the kids from talking about the election.

3

u/clayfreeman Oct 24 '20 edited Oct 24 '20

I am not a lawyer, and this is not legal advice. Just a friendly observation.

17 USC §§1201(a)(2) states:

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.

RIAA, in their complaint, alleges that youtube-dl, "[...] 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, including copyrighted sound recordings owned by our members."

I think there may be a workaround here after reviewing some case law on the matter.

An appeal decision in MGE UPS Systems Inc v. Power Protc Svc LLC, et al, No. 08-10521 (5th Cir. 2010) argues that:

Merely bypassing a technological protection that restricts a user from viewing or using a work is insufficient to trigger the DMCA’s anti-circumvention provision. The DMCA prohibits only forms of access that would violate or impinge on the protections that the Copyright Act otherwise affords copyright owners.

In theory, dissemination of the YouTube "information extractor" component of youtube-dl alone (notwithstanding the remainder of the youtube-dl source code) should be compliant with the law in that:

  1. This component would have other functionality that could be argued as "primary" functionality over circumvention of the access control mechanism (e.g. metadata extraction for archival purposes).
  2. Circumvention of the access control mechanism alone does not "impinge on the protections" of copyright owners.
  3. Circumvention of the access control mechanism can occur entirely without accessing the copyrighted work.

I surmise that use of the YouTube "information extractor" component from youtube-dl by a private party to view a copyrighted work using non-standard means (e.g. by piping the work directly to a video player) would also be permitted under the law assuming that no copies are made of the copyrighted work. This action would be analogous to accessing the work through other legal means which are assumed to be legal in the complaint (e.g. accessing the YouTube video watch page in a browser).

Given the legal framework above, I would agree that youtube-dl as a single utility, marketed in its current fashion, is in violation of the law. However, if youtube-dl were split into multiple utilities (the information extraction component being separate from the download component) and marketed as separate entities without the explicit goal of allowing users to make copies of copyrighted works, then there should be no worry of further DMCA takedown notices.

→ More replies (4)

3

u/anta40 Oct 24 '20

Aw crap. I use youtube-dl A LOT, usually for saving video tutorials.

I wonder who will fork the project and continue the development, though.

0

u/[deleted] Oct 23 '20

[deleted] — view deleted comment

278

u/MotleyHatch Oct 23 '20

On the website, maybe. With the git command line tool, GitHub first asks me for a username/password (didn't use to before), then I get 403/Forbidden:

~/git/youtube-dl $ git pull
Username for 'https://github.com': *****
Password for 'https://*****@github.com':
remote: Repository unavailable due to DMCA takedown.
remote: See the takedown notice for more details:
remote:   https://github.com/github/dmca/blob/master/2020/10/2020-10-23-RIAA.md.
fatal: unable to access 'https://github.com/ytdl-org/youtube-dl.git/': The requested URL returned error: 403

Last pull was on Sept 28, so I'm somewhat out of date, but not too much.

112

u/Holobrine Oct 24 '20

Please tell me there is another place to find this code, because I only just learned of its existence and I would hate it if I'm already too late.

201

u/SpaceshipOperations Oct 24 '20 edited Oct 26 '20

You can download the latest release source code from PyPI:

https://pypi.org/project/youtube_dl/#files

The latest master branch snapshot is also downloadable from the Internet Wayback Machine:

https://web.archive.org/web/20201018144703/https://github.com/ytdl-org/youtube-dl

(Click on the green 'Code' drop down menu above the file list to the right side, and select 'Download Zip'.)

As a last resort (if the above two get taken down), if you have it installed, you can just make a backup copy of its currently installed files. Since it's a Python program, its installed files include the entire source code.

If you are on Linux, this can be pretty easy to do with the help of your package manager. First, look up the command to list files owned by a given package for your package manager (For example, on ArchLinux, it'd be pacman -Qlq youtube-dl), then you can back them up like this:

pacman -Qlq youtube-dl \
    | grep -v '/$' \
    | rsync -av --mkpath --files-from=- / youtube-dl

Which backs up all of the packages' files into a directory called youtube-dl in the current directory. (You will need to install rsync for this method if it's not already on your system.)

Edit: For Windows users, I took a look at the contents of the Windows .exe file (from the Wayback Machine repo), and it looks like its contents are all compiled files (with .pyo and .pyd extensions) - no source code.

If the source code becomes inaccessible from the above links, it may still be possible to obtain it from Linux distro repositories. A few quick links:

https://www.archlinux.org/packages/community/any/youtube-dl/ (Click "Download from mirror" to the right)

https://packages.debian.org/bullseye/youtube-dl (Download link is at the bottom; it's called "all" under the "Architecture" column. After clicking it, select one of the mirrors to download.)

https://packages.ubuntu.com/focal/youtube-dl (Same as Debian)

→ More replies (11)
→ More replies (86)
→ More replies (3)

366

u/well___duh Oct 23 '20 edited Oct 23 '20

I feel like code 451 should've been reserved for when the govt requests something be taken down, a-la Fahrenheit 451.

EDIT: I'm guessing none of you actually read the book to understand why I specifically said when the government requests a takedown.

245

u/northrupthebandgeek Oct 23 '20

Considering the RIAA (among others) has the US government by the balls, I'd say the status code is very much appropriate.

→ More replies (7)

78

u/AnAge_OldProb Oct 24 '20

Umm that’s exactly why they choose 451 the code for “unavailable for legal reasons”, ie but the one entity that sets laws: government.

Acknowledgements

Thanks to Terence Eden, who observed that the existing status code 403 was not really suitable for this situation, and suggested the creation of a new status code.

Thanks also to Ray Bradbury.

https://tools.ietf.org/html/rfc7725#page-5 emphasis mine.

→ More replies (1)

32

u/AustinYQM Oct 24 '20 edited Jul 24 '24

grab continue deserted terrific somber saw fall fuel chubby plucky

This post was mass deleted and anonymized with Redact

→ More replies (1)

36

u/redwall_hp Oct 23 '20

Beatty goes on a whole spiel, in the middle of the book, about the burnings being a result of democracy. The masses don't like x of y, so you get rid of them, in a slow spiral down to "don't make me think."

It is the government doing the burnings, but it's not an authoritarian situation so much as tyranny of the majority.

→ More replies (1)

62

u/Nchi Oct 23 '20

"legal reasons" isnt close enough?

62

u/gurg2k1 Oct 23 '20

Yeah the government is the law so how are 'legal reasons' not related to government intervention?

→ More replies (7)
→ More replies (3)

87

u/icefall5 Oct 23 '20

I think that's getting a little too segmented. I appreciate that there's a status code for this purpose, but I don't think it makes sense to have one code for "unavailable for government-related legal reasons" and a separate code for "unavailable for non-government-related legal reasons".

→ More replies (1)

39

u/HorseRadish98 Oct 23 '20

Isn't that exactly what happened?

→ More replies (16)

6

u/KevinCarbonara Oct 24 '20

Why would it have to be the government? Have you even read the book?

→ More replies (11)
→ More replies (4)

0

u/[deleted] Oct 23 '20

[deleted] — view deleted comment

21

u/FatalElectron Oct 23 '20

I believe that was one of the arguments that was made during the congressional hearings that ended up with the 'copy bit', except the argument made then was that audio cassettes would never have been invented.

7

u/bro_can_u_even_carve Oct 24 '20

They fought for years to ban the VCR. In 1982, MPAA head Jack Valenti testified to Congress that "the VCR is to the American film producer and the American public as the Boston strangler is to the woman home alone."

→ More replies (1)

5

u/ThaddeusJP Oct 24 '20

Mister Rodgers saved home recording.

5

u/fullmetaljackass Oct 24 '20 edited Oct 24 '20

I have always felt that with the advent of all of this new technology that allows people to tape the 'Neighborhood' off-the-air ... they then become much more active in the programming of their family’s television life. Very frankly, I am opposed to people being programmed by others. My whole approach in broadcasting has always been ‘You are an important person just the way you are. You can make healthy decisions’ ... I just feel that anything that allows a person to be more active in the control of his or her life, in a healthy way, is important.

- Fred Rogers

Not all heros wear capes, some prefer a cardigan and loafers.

4

u/Packbacka Oct 24 '20

If libraries were invented today, they'd be sued out of existence.

0

u/[deleted] Oct 23 '20

[deleted] — view deleted comment

4

u/[deleted] Oct 24 '20

it runs on my computer

It will stop working in near future when Google moves the youtube codebase around.

youtube-dl needs somewhat frequent updates.

→ More replies (3)
→ More replies (1)

0

u/[deleted] Oct 23 '20

[deleted] — view deleted comment

4

u/Teknikal_Domain Oct 24 '20

Yes, because they were providing access to the source code.

0

u/[deleted] Oct 23 '20

[deleted] — view deleted comment