r/programming • • Oct 23 '20

[deleted by user]

[removed]

7.0k Upvotes

1.4k comments sorted by

View all comments

Show parent comment

168

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

FWIW, it'll likely be back up. This claim is obviously false; DMCA claims may only be made by the copyright holder or their agent, and I'd bet the farm that no code in this repo belonged to the RIAA or those they represent. The fact that someone could theoretically use it to download copyrighted content is meaningless, otherwise they could copyright strike torrent clients or even Chrome/Firefox/etc. (See also: https://old.reddit.com/r/programming/comments/jgub36/youtubedl_just_received_a_dmca_takedown_from_riaa/g9u6v4f/)

Also, just use JDownloader. Works perfectly for YouTube vids.

128

u/darkslide3000 Oct 24 '20

That's not what it's trying to say. Read the full letter.

Anticircumvention Violation. We also note that the provision or trafficking of the source code violates 17 USC §§1201(a)(2) and 1201(b)(1). The source code 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.

George W made sure that these assholes can sue anyone selling a hammer whenever a hammer was used to break open someone's window.

17

u/the_gnarts Oct 24 '20

We also note that the provision or trafficking of the source code violates 17 USC §§1201(a)(2) and 1201(b)(1). The source code 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.

If that were true, this would mean that a) ytdl is now capable of processing DRM’d streams (is it?) and b) this was its primary purpose. a) would be a great contribution to all of mankind but even if it were the case, claim b) remains just as absurd. ytdl was around before there even was a something like EME [0] so the claim it was designing primarily to “circumvent” it is completely baseless.

[0] The date on commit 4fa74b5.. is 2008.

14

u/darkslide3000 Oct 24 '20

a) ytdl is now capable of processing DRM’d streams (is it?)

Well... not really. In these sort of legal decisions they usually decide that any token effort to protect the stream "effectively controls access", even if it's ROT13 with a hardcoded key. Basically, rather than having to put real technical skill into the problem the MPAA just lobbied themselves a law that said they can fuck up their copy protection as badly as they want and just sue anyone who works around it.

11

u/codav Oct 24 '20

The takedown notice actually refers to YouTube's "rolling cipher" technology, which is as far as I could see from the web player, not an actual content encryption cipher but simply a time-limited key the player needs to refresh in regular intervals to access the CDN servers. So it's more like the good ol' CSS encryption on DVDs: not really something that stops anyone from accessing or decoding the content, but enough to pass the term "technological measure" in most copyright laws, enabling the content industry to DMCA the hell out of anyone reimplementing the key exchange on their own. YouTube added this new "measure" about three months ago, possibly due to pressure from the RIAA.

3

u/RedditIsNeat0 Oct 24 '20

The date on commit 4fa74b5.. is 2008.

I would like to add that the message of that commit is "Create initial preview version of the new youtube-dl". That suggests that there was an older version as well.

2

u/Marquesas Oct 24 '20

ytdl is now capable of processing DRM’d streams (is it?)

Processing the DRM'd stream, no, but it does have the ability to circumvent the DRM'd stream and access the raw one instead. Which, you know, is a circumvention of a technological measure. Now, is it truly youtube-dl to blame for this, no, not really, I mean why does google have the raw stream exposed, a question that nobody seems to be asking, but hey it's more expensive to go after them for that, and they do have the money to take it to court.

this was its primary purpose

Good luck arguing in court that it isn't. Not on the side of copyright bullshit at all mind you, fuck the RIAA and everything it stands for, however, it quite clearly has DRM-circumventing measures built in, so it definitely is partly its purpose, and primary is just semantics that you'll never argue off.

3

u/the_gnarts Oct 24 '20

Processing the DRM'd stream, no, but it does have the ability to circumvent the DRM'd stream and access the raw one instead.

Why on earth would Youtube provide the “raw” (whatever that means) data without DRM and DRM only a “non-raw” (???) version of it? Why would they provide a “raw” stream in the first place if they want to “copy protect” the content? That makes no sense at all.

Good luck arguing in court that it isn't.

Have you even read the DMCA claim? They cite a decision from this country’s most biased court that as per usual was already rejected by a superior court.

Also yeah, “primary” means primary and it should mean the same in legalese. You can’t argue the “primary” purpose is subverting DRM if youtube-dl is being used to download non-DRM’d streams.

2

u/Marquesas Oct 25 '20

Why on earth would Youtube provide the “raw” (whatever that means) data without DRM and DRM only a “non-raw” (???) version of it? Why would they provide a “raw” stream in the first place if they want to “copy protect” the content? That makes no sense at all.

You can freak out at me all you want. The source code is still available on pypi and in non-fork mirrors, see if I'm correct or not yourself.

should

Dream on my friend.

You can’t argue

You absolutely can.

11

u/zerocnc Oct 24 '20

Does this include standard libraries that come with every language? If so, this is a gold mine!

18

u/darkslide3000 Oct 24 '20

I mean... depends on how good your lawyer is, I think. If you ask me these laws are written pretty dumb with little technical understanding, so you can basically make them do whatever dumb shit that goes against any common sense you want as long as you can convince some judge who only knows how to use the internet when his interns print it out for him.

6

u/Rhowryn Oct 24 '20

Don't know if you're joking, so no, obviously not. The relevant section specifies applications of code specifically designed to circumvent copyright protections.

26

u/njantirice Oct 24 '20

it's not designed to circumvent copyright protections, it's designed to download videos off of youtube

→ More replies (24)

2

u/Mr2001 Oct 25 '20

George W made sure that these assholes can sue anyone selling a hammer whenever a hammer was used to break open someone's window.

Not George W., I'm afraid. The DMCA was signed into law by Bill Clinton on October 28, 1998.

1

u/AlternativeAardvark6 Oct 24 '20

I don't like what is happening but you have to admit that if the producer of hammers only makes hammers with the explicit purpose of breaking windows there will be trouble.

→ More replies (13)
→ More replies (2)

71

u/09f911029d7 Oct 24 '20 edited Oct 24 '20

The fact that someone could theoretically use it to download copyrighted content is meaningless, otherwise they could copyright strike torrent clients

Are you too young to remember when they shut down Napster, KaZaA, and LimeWire? They have and they won. Theoretically being able to use a piece of software to download copyrighted content is enough.

I think the only reason browsers get away with it is because normies know what a web browser is, and Google already has contracts with record agencies anyways

10

u/Anne_Roquelaure Oct 24 '20

As soon as everything has an app, they will come for the browsers

2

u/chinpokomon Oct 24 '20

Not to suggest you're incorrect, but the browser is somewhat the equivalent of the teletext or the terminal. On a really good day, search engines are trying to be the command line shell. Ideally from a UX perspective, typing in web addresses or even having to search for something is pretty lousy and if history is any indicator it will be replaced with a shinier UX in the next 25 years or less. While apps would certainly help provide some of the control you suggest, I think the greater reason will be the UX.

7

u/Anne_Roquelaure Oct 24 '20

I curse that I can not really use AND, OR, XOR, NEAR and that every word automatically includes all equivalents and variations.

I am therefor afraid the internet in 25 years is a place I hate with less possibility for individual websites

4

u/chinpokomon Oct 24 '20

I've been programming for 30+ years and doing web development for 25. I share your concern. I'm actually surprised it's held on to web addresses for as long as it has. Phone numbers still exist, but the act of actually dialing a number is a bit of a relic now. URLs will exist into the future, but just like how no one is typing REST urls to manually navigate a site, somewhat like Gopher, the actual address won't be something most people see. Most browser vendors are already doing tricks to hide the actual address and that's a trend which I think will continue. If Apple started supporting PWAs, I think the change might happen within the decade.

2

u/Anne_Roquelaure Oct 24 '20

A good comparison could be radio in the early days versus radio now. Not sure how it would exactly develop but in the early days there was a lot more individual freedom - or so I am told

→ More replies (1)

2

u/bigjeff5 Oct 24 '20

You're flat wrong. Theoretically being able to use a piece of software to download copyrighted material is NOT enough. There are thousands of applications that fit that description that are not and never will be hit with a viable copyright lawsuit.

It has to be the PRIMARY use of the software, or at least one of the primary uses, and the creators have to be actively engaged in promoting usage that violates copyright law. Napster, Limewire, Kazaa, etc all advertised the free movies and music and software you could get in their platforms, which made them culpable.

Unfortunately, YouTube-dl is much the same as Napster et. al.: they actively promote violating copyright, so I can't see how they win this.

→ More replies (9)

2

u/KHRoN Oct 24 '20

it's not about downloading yt videos, jdownloader is not drop-in replacement of ytdl

2

u/jackmax9999 Oct 24 '20

JDownloader is huge and unwieldy (300 MB, over 6000 files), it always takes a while to start and update, and it cannot be scripted from Python like youtube-dl

→ More replies (5)