Hacker News

Top stories

Live mirror
30 storiesupdated just nowView source snapshot
  1. Laya the open source version of Jev(convaiinnovations.com ↗)
    17comments
  2. AI-generated posters don’t have to be horrible(john.hartnup.uk ↗)
    252comments
  3. Human brain is two separate organs, Stanford Medicine-led research finds(stanford.edu ↗)
    128comments
  4. “The Secret Life of Circuits” is here(coredump.cx ↗)
    30comments
  5. If math is more than proof, we need to better celebrate the rest of it(terrytao.wordpress.com ↗)
    120comments
  6. GPT-6 Astra Solves a WWI German Radio Cipher(prinzai.com ↗)
    95comments
  7. Android 17 is the first since 3.x to add new APIs without releasing to the AOSP(grapheneos.social ↗)
    480comments
  8. San Francisco Onion Futures Company(onionfutures.com ↗)
    85comments
  9. Show HN: I wrote a custom assembler for CHIP-8 in C++(github.com/tackx ↗)
    2comments
  10. Communication by means of modulated Johnson noise(pnas.org ↗)
    8comments
  11. Cloudflare Quick Tunnels(cloudflare.com ↗)
    294comments
  12. How to Write with an LLM(sockpuppet.org ↗)
    345comments
  13. You can run Git on object storage if you re-make packfiles(tigrisdata.com ↗)
    19comments
  14. From Stonemasons to Carpenters(thelastsoftwareengineer.substack.com ↗)
    2comments
  15. SDCC – Small Device C Compiler(sourceforge.net ↗)
    20comments
  16. Saving another 100TB of RAM(cloudflare.com ↗)
    84comments
  17. Science Is Open Software(jepedersen.dk ↗)
    41comments
  18. How OpenAI Used Its Own LLMs to Design Its Jalapeño Chip(ieee.org ↗)
    99comments
  19. Why building a Rust LSP is hard(rust-glancer.github.io ↗)
    39comments
  20. Ctenophores: Wonders of Biology(quantamagazine.org ↗)
    6comments
  21. NASA-IBM Lunar Foundation open-Source Geospatial AI Model(usra.edu ↗)
    4comments
  22. The first new cat species discovered in 100 years(nationalgeographic.com ↗)
    109comments
  23. OpenJev(openjev.com ↗)
    273comments
  24. Goroutine Leak Profiles(go.dev ↗)
    5comments
  25. Show HN: Cactus Needle 3: 8-29MB automation models can match DeepSeek V4 Flash(cactuscompute.com ↗)
    89comments
  26. Photon-Emission-Guided Laser Fault Injection Enables RP2350 Secure Debug(ledger.com ↗)
    75comments
  27. Veronese's Dogs(publicdomainreview.org ↗)
    2comments
  28. Cache-to-Cache: Direct Semantic Communication Between LLMs (2025)(arxiv.org ↗)
    14comments
  29. Warez: The Infrastructure and Aesthetics of Piracy (2021)(archive.org ↗)
    89comments
  30. Inside ZCode: Silently uploading your Git history to the cloud(ferstar.org ↗)
    106comments

YouTube-dl has received a DMCA takedown from RIAA

4240 pointsby 5y agogithub.com
1,435 comments
5y agoHN ↗

Just so you know, they expressly mention that’s not a good idea in the notice.

Also, I'm just the messenger so please don't shoot/downvote me

5y agoHN ↗

Why wouldn't it be? Does this claim have any substance?

5y agoHN ↗

A claim like this is also a threat to the open-source software ecosystem.

5y agoHN ↗

And I hereby expressly mention that it is, so there you have it.

5y agoHN ↗

They didn't like people buying VCRs either.

5y agoHN ↗

Stating the obvious: but hopefully to a place other than Github, since forks would automatically be removed as well.

5y agoHN ↗

Any links to a repo that is still standing would be appreciated -- I would also like to clone the source.

5y agoHN ↗

Note that RIAA is making this takedown because the software CAN be used to download copyrighted music and videos, and it uses examples in the ~~README~~(unit tests, see correction[1]) as an example of that:

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.

5y agoHN ↗

It’s probably a case of fair use but it’ll have to go to court to decide that

5y agoHN ↗

IANAL but I don't even think DMCA applies. It's not like YouTube-dl is breaking copy protection schemes, at most it is handling anti-abuse schemes. After all, it's not like you can go and bypass Widevine with youtube-dl.

5y agoHN ↗

I can understand why it would seem like circumvention, but one usage of YouTube-dl even with the README invocations is so that you can listen to or watch the media in a personal capacity. Not technically any different from how you might using the actual YouTube client, albeit probably in violation of YouTube's ToS. "Copying" in a legal sense might need a little more rigor. (IANAL either, though, so hell if I know.)

5y agoHN ↗

What if I use youtube-dl like

  mpv <(youtube-dl youtube.com/video-url)

or similar. Then no permanent copy is made. I agree that they could have been cleverer in their marketing.

5y agoHN ↗

I was thinking the same thing: The next step following this line of thinking would be trying to ban all torrent clients, because they CAN be used to download copyrighted material.

This is crazy.

5y agoHN ↗

Now that 4chan is behind bars, it's time to sue the Internet!

5y agoHN ↗

Nope, just to sue "the hacker known as 4 Chan".

5y agoHN ↗

Why stop with torrent clients? They should ban all browsers, because they CAN be used to download copyrighted materials!

5y agoHN ↗

Browsers?

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.

5y agoHN ↗

I realize you're being sarcastic but with a line of logic like that, you have a bright career in Congress, should you want it.

5y agoHN ↗

Why stop with browsers? With enough creativity you can use any network protocol to download copyrighted material, so they should just ban computer networks.

5y agoHN ↗

No joke -- if they could get the legislation signed into law they would be thrilled.

They could care less about side-effects and collateral consequences for adjacent technologies and use cases.

5y agoHN ↗

Because the law doesn't take kindly to "well, technically" arguments.

5y agoHN ↗

So what does it mean when someone says "he got off on a technicality"?

There have been plenty of cases where exactly that happened.

There's the spirit of the law and the letter of the law, and many are persuaded that when someone hasn't violated the letter of the law, they haven't violated the law.

Judges, lawyers, and juries will vary on this, but in many cases the letter of the law will carry the day, and people will in fact "get off on a technicality".

5y agoHN ↗

Because browsers and network protocols were not created with the primary purpose of violating copyrights...

Intent matters in the law.

After after all, two guns can be physically and functionally identical, but if one is purchased to be used in a conspiracy to commit murder then it's evidence of a crime, and the other gun is still just a gun.

5y agoHN ↗

Same for any kind of information exchange, like speech or the written word. Common sense says their argument doesn't hold water at all. Should courts decide in favor of the takedown that'd just go to show how broken our legal system is. Let's hope not.

5y agoHN ↗

Well, following their logic behind DMCA compliant, I guess fiddling long enough with developer's console on Chrome or Firefox would allow you to download potentially copyrighted material from youtube the same way youtube-dl does.

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!

5y agoHN ↗

The Linux kernel does not have "youtube" in its name–it isn't advertised as a way to download videos.

5y agoHN ↗

So if youtube-dl had a different name it'd be ok?

5y agoHN ↗

I'm not a lawyer, and even if it was I could never tell you that anything would be "ok" in this kind of situation. But I suspect that it would be better off.

5y agoHN ↗

The logic behind the DMCA complaint is that youtube-dl is “marketed … for use in circumventing a technological measure that effectively controls access to a [copyrighted] work” [1], not that it “allows you to download potentially copyrighted material from youtube.”

[1] https://www.law.cornell.edu/uscode/text/17/1201

5y agoHN ↗

But it wasn't. This was just a unit test.

5y agoHN ↗

A unit test is an example of how the program is intended to run. It's the intention.

5y agoHN ↗

No, it's not.

A unit test is there to allow the developers to test whether the program is producing expected output from certain inputs.

It doesn't demonstrate that it's intended for circumventing copyright.

They just picked examples to use for in test cases.

5y agoHN ↗

All computers with the option to install applications or unlocked/unlockable bootloaders can be used to make copies of copyrighted materials. And it certainly happens a lot.

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.

5y agoHN ↗

I think we should just replace all humans with an Ethereum smart contract. No humans, violation of law.

5y agoHN ↗

We need to ban oxygen. It CAN be used to download copyrighted materials!

5y agoHN ↗

Why stop with browsers? They should ban all computers, because they CAN be used to download and play copyrighted materials!

5y agoHN ↗

And you don't even need a browser for that. Your operating system comes with TCP support and that in itself is enough. (OK, some of them may probably be willing to build in all kinds of restrictions, so maybe they can get a RIAA stamp.)

5y agoHN ↗

Let's just ban internet protocol, while at it. :)

On a bit more serious note I wonder how much internet traffic is used for "illegal" purposes?

5y agoHN ↗

Why stop with torrent clients? They should ban all browsers, because they CAN be used to download copyrighted materials!

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.

5y agoHN ↗

The RIAA would absolutely ban all torrent clients if they could. If one advertises itself as a way to download copyrighted material, they would try to pull the exact same thing.

5y agoHN ↗

What about chromium? They should take that down as well, imagine what children can see using that thing. `curl`, `wget` as well as gitlab - massive offender, random number generators - one of the biggest offenders, any worst nightmare you can imagine can be produced by it!

5y agoHN ↗

And don't forget the evil math people can use to hide their illegal content!

5y agoHN ↗

Hush, don't leak their master plan! Of course they'd love to just ban about anything that can potentially be used to commit copyright infringement. Of course that includes your web browser, too. Unless it can only visit a list of websites pre-approved by RIAA ;)

5y agoHN ↗

Why not just ban computers or even why not jail people who even think about using ytdl? These organisations like RIAA need reality check. Sadly there is no body to stand against their bullying and stiffling the freedom of speech.

5y agoHN ↗

EFF takes up these causes sometimes, right? This notice is hollow sabre-rattling, so I wouldn’t worry too much. What can RIAA do if somebody forks the project and hosts it in the Lithuania? Not much. Yell into a pillow, maybe.

5y agoHN ↗

youtube-dl needs to be regularly updated as streaming sites add new countermeasures to block it. If those updates can no longer be crowdsourced from a popular, reputable site like GitHub, the tool has a good chance of dying.

5y agoHN ↗

This is the crux of it; finding something that is both DMCA-proof and trustworthy/reputable enough to allow auto-updating will be a huge barrier :(

5y agoHN ↗

Yes, would be messed up given the state of play upon gun laws.

5y agoHN ↗

The next step following this line of thinking would be trying to ban all torrent clients, because they CAN be used to download copyrighted material

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?)

5y agoHN ↗

Well, we (Lithuania) have a law that works along these lines. When you buy any storage device a part of the price is a tax that goes to IP protection agency. The reasoning is exactly that: because you may store some pirated music or whatever on it. How was this bs passed I have no idea.

5y agoHN ↗

This happens in Spain as well. About how did it pass, I assume it's because lobbying.

5y agoHN ↗

Why in the world did they include copyright works in the README? That's contributory infringement!

5y agoHN ↗

Why? youtube-dl is a violation of YouTube's ToS most probably, but does using it to download a copyrighted video necessarily constitute copyright infringement? I have literally used youtube-dl to watch YouTube, in the past; it's handy to be able to use whatever media player you want, including ones that have better scrubbing.

5y agoHN ↗

Umm, yes the law makes it clear downloading copyrighted material you do not own is not legal.

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!

5y agoHN ↗

I don't think you understand. Yeah, you can sue people for illegally redistributing copyrighted works. However, I am skeptical that you can do the same for people using YouTube-dl to consume copyrighted works. You are downloading the file from someone who has a license to redistribute it, you are just using a CLI utility instead of the page itself. You can't view something without downloading it in some capacity.

I'm not saying there's no possibility this is "illicit," I am saying this is not the same as illegally downloading music off of Kazaa.

5y agoHN ↗

I was thinking the same thing. Instead of using a browser to access a website, parse the files given to it, and download the data so that the user can view it, you are using youtube-dl to access a website, parse the files given to it, and download the data so the user can view it.

But I'm not a lawyer.

5y agoHN ↗

The RIAA and MPAA were suing users of Kazaa who were alleged to have redistributed copyrighted works. These lawsuits were not because someone possessed or redistributed free software source code.

5y agoHN ↗

[Edit: I'm not completely sure how section 1201 interfaces with the fair use rules, but at the very least, a quick glance at the statute (as well as awareness of the First Amendment constitutional underpinnings of fair use) makes me believe the interaction does not entirely eliminate fair use in a context where section 1201 applies. It's clearly complicated.]

The law makes it clear downloading copyright material without holding copyright or a suitable license is usually not legal, but exceptions exist in many countries including the US (where the exception is called fair use).

Some uses of youtube-dl with RIAA-member-copyrighted content very probably fall under that fair use exception, even if other common uses do not. For example, if a music critic wants to use youtube-dl to import a music video into video editing software to produce a review of it, interspersing only a small excerpt of the original video with commentary on it, that's classic fair use and would be an easy win in US court if accused of copyright infringement.

If the actual and as-marketed purpose of covering those copyrighted videos by 3 of 94 unit tests is to make sure that such noninfringing fair uses of youtube-dl are possible with the technologies involved in those videos, I expect that the DMCA claim is invalid. If the actual or as-marketed purpose is to ensure that it's possible to infringe those videos, then the DMCA claim is valid.

That's a question of fact for a judge (in a bench trial) or a jury (in a jury trial). If the more favorable answer is true and credibly defensible in court, youtube-dl might be able to survive a motion for summary judgment, gain support in the court of public opinion, and lead the RIAA to consider settling or dropping the claim.

But if they were indeed trying to facilitating illegal circumvention or infringement, or if they can't credibly prove otherwise in court, yeah this won't end well for their ability to host youtube-dl in the many countries that now have a DMCA-like law.

(Disclaimer: I'm not a lawyer, just a former law student layman who remains a legal geek interested in and relatively informed in these areas. But I don't claim to be authoritative and this is definitely not legal advice. youtube-dl should definitely involve a suitably expert and qualified lawyer if they're going to fight this.)

5y agoHN ↗

Pardon i pointed to the wrong case example rather the better one is the RIAA suing Kazaa, Limewire, etc out of existence as they were tools to everyone used to download copyrighted material... 95% used for or more used for such.

Those companies mentioned and or others promoted and or were well aware their users were downloading copyrightable material which is contributory infringement.

This YouTube DL is used for the same thing and probably the same percentage are using it to download copyrighted content.

Not that I pro RIAA ... rather trying to detail the best case example for the RIAA potentially having a case against this tool.

5y agoHN ↗

Umm, yes the law makes it clear downloading copyrighted material you do not own is not legal.

It most certainly does not, as almost nobody "owns" "copyrighted material," instead most users are granted a license in this context.

5y agoHN ↗

Maybe not Copyright, but perhaps CFAA, for accessing the site in ways that was not authorized by the site owner.

5y agoHN ↗

So would using an adblocker, or any extension for that matter, also be a violation?

Another point: If you put your content up for public viewing, you're implicitly allowing people to download the material as that's what browsers do. You are downloading a video every time you go to youtube to watch a video.

5y agoHN ↗

So would using an adblocker, or any extension for that matter, also be a violation?

This hasn't been tested, but yes. This is a plausible argument. And it's why the CFAA is complete garbage.

5y agoHN ↗

IANAL, but regardless, according to RIAA, youtube-dl is circumventing the "DRM" built into YouTube, and therefore they're violating anti-circumvention parts of the DMCA. Therefore a DMCA claim can suffice to take it down.

Perhaps if youtube-dl used different examples (i.e. videos not protected by anti-circumvention) perhaps they could have avoided this.

5y agoHN ↗

Incorrect. DRMed YouTube-content cannot be downloaded using YouTube-dl. Only regular content.

5y agoHN ↗

Videos with obfuscated request signatures can be downloaded by youtube-dl. A german court ruled this is an effective technological protection measure.

5y agoHN ↗

A German court sets no precedent in US law.

5y agoHN ↗

according to RIAA, youtube-dl is circumventing the "DRM"

I didn't find any mention of "DRM" or "Digital rights management" on the page. Can you be more specific?

5y agoHN ↗

Conversely, the RIAA is making its media available on a known, at-risk platform to attain distribution. They're not protecting their copyright sufficiently, and the copyrights should be revoked.

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.

5y agoHN ↗

As much as I would like this to be true, copyright doesn't have to be defended in order to be kept. That's a very different law, trademarks.

You can have your copyright infringed for decades before you try to prosecute the infringers, and the courts will still rule in your favour.

5y agoHN ↗

I'm suggesting that ML will lower the barrier to entry so dramatically that the value of individual songs and musicians will plummet. The back catalog of copyright that the RIAA holds will become a fraction of its value today.

I could be wrong, but nascent technology in this field looks incredibly powerful.

I think this will happen with all media.

5y agoHN ↗

This... doesn't make any sense to me. Are you arguing that songs written by machine learning will become sufficiently good at their "job" that there will be no value in actual humans writing music? And that this will be a good thing?

5y agoHN ↗

Yes and yes.

People will still be driving and making money. But there will be more people doing it and catering to a much wider audience.

It'll flatten the curve. All long tail.

Patreon is the first hint at this.

5y agoHN ↗

You wouldn't even need ML. Iirc there was this guy who coded a script that played every permutation of 12 notes in a 5 minute period and then made all the Melodys public domain. Ianal so I don't know if this would hold up in court, but technically that should invalidate every copyright on Melodys after that point in time.

E: https://www.youtube.com/watch?v=sJtm0MoOgiU&t=135 found the ted talk

5y agoHN ↗

Since there is little to no creative input in merely enumerating permutations, I don't think he has a valid copyright to waive. But the fact that the data set exists might sway a judge or jury away from upholding copyright claims on trivial excerpts of other works.

5y agoHN ↗

"ML will lower the barrier to entry so dramatically that the value of individual songs and musicians will plummet"

It's hard for it to plummet down much further.

There's already a glut of content, and the vast majority of musicians can't make a living from their music.

The ones who do well tend to have giant marketing machines behind them to promote their music, and ML will do nothing to change that.

5y agoHN ↗

It seems to me that they are making the claim that this tool is expressly for doing something that is forbidden by the YouTube TOS and breaking the music licenses provided.

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.

5y agoHN ↗

Wait a minute, there's a difference between distributed copyrighted works, and merely copying it for yourself. In France for instance, we have this notion of "copie privée" (private copy), that says we are allowed to copy anything as long as we don't distribute it back. We even pay taxes on persistent memory for the privilege.

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.

5y agoHN ↗

That's a very common misconception of private copy; the existence of the private copy tax is not excusing copyright violation.

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).

5y agoHN ↗

It seems kind of the same to me if the result isn't being distributed again: "I want to view this YouTube video on the airplane when I don't have internet access." (Let's assume no international travel is involved to avoid questions of regional licensing rights.)

YouTube's paid offering in some countries includes this feature on Android and iOS, but for computer users there's no built-in way to do it. Wouldn't it fall within the spirit of the private copying rule for a subscriber to YouTube's paid service to use youtube-dl in this way?

5y agoHN ↗

That's a very common misconception of private copy; the existence of the private copy tax is not excusing copyright violation.

You are wrongly assuming that a copyright violation has taken place. If a country's laws say it's legal to make a copy under specific circumstances, it's not a copyright violation to make a copy under those circumstances.

5y agoHN ↗

The issue here isn’t that youtube-dl infringes copyright, it’s that (according to the RIAA claim) its purpose is to “circumvent the technological protection measures used by authorized streaming services.” Even if youtube-dl was tested exclusively on public domain videos, so that the developers never infringe copyright, it could violate 17 U.S.C. 1201 [1] if the RIAA succeeds in proving that it was “primarily designed” or “marketed” for circumventing technological protection measures.

[1] https://www.law.cornell.edu/uscode/text/17/1201

5y agoHN ↗

The fact that copyrighted works were included in the readme shows it was intended for that use, and the RIAA complaint will likely stand up to any legal scrutiny. Just because it can be used for legit purposes too won't matter in the slightest. I mean, Napster could have been used for legal means as well, and it got destroyed in court.

The only chance tools like this have legally is when infringement is an "unintended side effect."

5y agoHN ↗

Should it stand up to legal scrutiny though?

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.

5y agoHN ↗

The former gives money to the original content owner for every listen while the latter does not. Which is why you're able to listen to it on youtube without having to personally pay someone.

5y agoHN ↗

It could but probably doesn't

One could argue that YouTube success is mostly about unlimited access to illegal copyrighted material uploaded by some unknown person in some unknown part of the world

After all the thing it's already on YouTube and on my HD after I watched it

5y agoHN ↗

YouTube success is mostly about unlimited access to illegal copyrighted material uploaded by some unknown person in some unknown part of the world

Good point. I quite like that argument.

Not that my opinion actually matters in this case.

5y agoHN ↗

If the videos mentioned in the notice are hosted on Youtube without authorization, then the takedown notice should be sent to YouTube.

If the videos were uploaded to Youtube with authorization, then accessing them through youtube-dl is not an example of the program being used for infringement.

Either way, the purpose of the software is to download anything publically available from YouTube. Its purpose is not copyright infringement unless the purpose of YouTube is copyright infringement.

5y agoHN ↗

That's exactly the point.

The content is already available

The monetisation of the content depends on a lot of different factors, many have monetized unauthorized content over the years, many received money from the same unauthorized content by faking clicks and views and many avoid paying YouTube in the form of ads by using ad blockers

I believe youtube-dl users amount to a maximum of a single digit percent of the above (with the digit being between 1 and 2 with 2 excluded)

5y agoHN ↗

  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.[1][2] 
  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.

How is downloading something from youtube for later offline viewing ("time-shifting") in any way different from recording a tv show?

5y agoHN ↗

The Betamax case was about stuff broadcast over public airwaves, whereas this is a medium that the RIAA barely tolerates, rather than the (ideal) main distribution channel. Seems like a big enough difference to me.

5y agoHN ↗

The ruling there doesn't seem to rule out making copies of shows from a cable network, which are not exactly public airwaves in the same sense I think you mean.

5y agoHN ↗

I don’t see the fact that the RIAA dislikes internet based streaming as relevant to the analysis. Downloading a publicly available video transmitted over a nearly global communications network is directly analogous to recording a show to tape from a TV signal.

5y agoHN ↗

"...this is a medium that the RIAA barely tolerates, rather than the (ideal) main distribution channel."

Right, this is the precise problem, and it has to be solved - not by a free-for-all but with proper equitabl copywrite laws.

As matters stand, it's only going to get worse. Say we assume that if somehow both YouTube downloads are made much more difficult to crack AND no downloaders are available, then viewers and downloaders will then use newer tech that's even easier to use to record the videos. With new hi-resonution 4k cameras becoming commonly available, they'll be able to record stuff with still-excellent resolution by just photographing the monitor.

Of course, that still won't deter the RIAA, I can see them trying to ban cardboard covers and jigs that hold cameras and monitors accurately in alignment.

5y agoHN ↗

The Betamax case was pre-DMCA. The law has changed. I'm not saying it's invalid, just that there's a different argument to be made.

5y agoHN ↗

Probably because YouTube premium let’s you do that.

5y agoHN ↗

Someone who is capable of downloading youtube videos can easily block ads and many do, not because ads are bad but because they are both excessive in any form possible and a malware spreading channel. I do too but don’t bother to download videos because it is still more convent to watch’em directly on youtube. But it seems those days are coming to an end soon, lets see

5y agoHN ↗

I watch youtube videos with mpv sometimes. That's not even downloading it. But it's using youtube-dl to stream the video :)

5y agoHN ↗

The intent matters. Browsers don't make it easy to get ahold of a copy of the file that you can share, youtube-dl does. Add that to a bad README and that's something that a court might treat very differently from a web browser.

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.

5y agoHN ↗

But it's perfectly legal to screencapture a video platform in full-screen, and previous courts have ruled that recording a stream you otherwise have access to is allowed (the VCR/TiVo lawsuits). The question here is whether youtube-dl is a tool that allows for the bypassing of DRM, as the RIAA is asserting that youtube has DRM on their videos that prevent automated tools from scraping the website.

5y agoHN ↗

The intent matters. Browsers don't make it easy to get ahold of a copy of the file that you can share, youtube-dl does. Add that to a bad README and that's something that a court might treat very differently from a web browser.

I can't say for YouTube specifically (I haven't tried, I suspect they have the talent to make it actually difficult), but browsers do make it remarkably easy to extract most forms of media from a website. Even websites that attempt to hide it have to embed it somewhere. Whether you feel like it's easier to install Firefox and figure out how to extract the media, or figure out how to install Python and pip and then run youtube-dl is up to you.

There are likely even tutorials up by Mozilla somewhere about how to use the dev tools to pull an image (though I assume they're not stupid enough to do it on material they don't have rights to).

There are many reasons one might want to use youtube-dl. Furthermore, there are many creators that either don't care or are happy that you're downloading their stuff.

If we want to make analogies, every gun shop in America sells guns and human shaped targets. Do they have the intent to encourage people to murder other people? It is a tool that can be used for illegal purposes. They might even have examples of how you can do such a thing (as do gun manufacturers, lockpick manufacturers, security exploit announcements, etc, etc). Why would that make the tool illegal? The argument might hold if the only possible use of it is illegal; that puts it among the ranks of things we deem illegal to merely possess, like fully automatic weapons. I'm not buying the RIAA's argument that youtube-dl is so dangerous to society that we can't trust anyone to use it legally.

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.

No one has demonstrated intent. The publishers have demonstrated that it could potentially be used in an illegal manner (depending on your jurisdiction). They aren't going after someone who downloaded youtube-dl and is trying to use it to pirate things. They're going after the lockpick manufacturer because they have a tutorial on using their lockpicks on their site, and people could use that to commit crimes.

5y agoHN ↗

YouTube uses things like DASH, where they download pieces of the video from the server a bit at a time and feed into the browser's video pipeline. There's no single link to the entire video, necessarily; you have to piece together the bits. This is one of the things that allows changing quality mid-video, btw.

Furthermore, the video and audio are served separately so that codecs can be mixed and matched on the client side, and the same audio can be used for different quality video streams, etc. One of the things youtube-dl deals with is grabbing both and muxing into a single container.

So yes, extracting things from YouTube is not trivial at all.

5y agoHN ↗

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.

This is pretty far from lock picking tools. The crime commits with lock picking tools involves physically breaking into someone private property to either steal physical items or do physical harm to people. Breaking and entering and copyright law are not comparable. A closer analogy is smuggling a camera into a concert to break copyright law by recording a concert. Canon or Nikon are not responsible for what I did, just because they made the technology that allows users to record any content, which may or may not include copyrighted material. Even if Canon included how well their camera performed at recording concerts, that doesn’t suddenly make them responsible. Youtube-dl is much closer to a digital version of a camera than to lock picking tools.

5y agoHN ↗

It stands up to legal scrutiny, and Betamax case is not applicable.

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.

5y agoHN ↗

This is a wholly imaginary distinction based on a triviality. Streaming IS downloading. Also how is the betamax case not applicable. The user of a VCR isn't "licensed" to record whats on their tv

5y agoHN ↗

No, it's a distinction that exists based on the differences in how the video content is consumed.

It is irrelevant, legally, that one implementation of a streaming software may choose to download the streamed data to a temporary disc file, or that some content downloaders can structure the assembly of a partially downloaded file so that (some) content can be accessed before the download is fully completed. What matters is that a streamed file is intended to be consumed contemporaneously with the acquisition of the downloaded data however it is stored on the computer, and that caching for efficiency aside, each separate act of consumption involves a separate act of acquiring the content, whereas a downloaded file is intended to be downloaded once and consumed multiple times.

Also how is the betamax case not applicable. The user of a VCR isn't "licensed" to record whats on their tv

No, they are not licensed to record what's on TV. But the point of the Betamax case was that "time-shifted viewing" by a private viewer was deemed to be fair use because at the time broadcast TV content was transmitted on a fixed schedule and absent the private recording, was not otherwise consumable because many of these shows were not rerun or sold on cassette tape. Thus the court found that the Betamax had substantial non-infringing use (and indeed, that it's primary intended use was thus non-infringing).

However, digital content is provided on demand so there is no need for "time-shifted" viewing, and so the reasoning from Betamax no longer applies. Moreover, many content owners now make the content available for "connectivity-shifted" viewing (aka, away from internet connectivity) via a downloaded content license. Thus, downloading that content from a streaming source is generally no longer protected by fair use.

Consequently, using youtube-dl to download your favorite streamer to watch on a plane trip would probably be fair use because they probably don't make the content available for access-shifted viewing otherwise. But using it to download a music video would not, because the music and video owners make those available for download with a purchasable license. And the problem with youtube-dl is that they demonstrated that the primary intent of the tool was to download music videos, the evidence being that the README and parts of the code explicitly refer to downloading music videos subject to RIAA licensing. Under the Betamax ruling, this would be fine, because there are substantial legitimate uses...but the DMCA changed that and so it doesn't matter if there are substantial legitimate uses if the primary intended use was to violate copyright.

5y agoHN ↗

"README and parts of the code explicitly refer to downloading music videos subject to RIAA licensing."

It beggars belief that people can be this stupid. Why the hell would one mention it here? Are they truly that stupid to believe that the RIAA wouldn't see it? Then they made matters even worste by putting it on Github instead of some obscure website in Eastern Europe?

Talk about shooting oneself in the foot!

5y agoHN ↗

No it doesn't follow at all, any more than had the repo owners included a couple of public domain recordings in the repo then the conclusion that the tool was clearly intended to download public domain recordings.

5y agoHN ↗

You may feel it doesn't matter, but it does in fact matter to the entities where decisions are made on matters like this: the courts.

5y agoHN ↗

I guess that means those decisions are then based more on emotion than facts?

5y agoHN ↗

If you would put aside your emotions for a second, you would see that this is clearly just an issue of different priorities and values -- on both sides. And the side that has the power has priorities that presumably, given your phrasing, disagree with yours. I understand that can be frustrating and that that frustration might lead you to questionable rhetorical devices, but it won't change the fact of the situation.

5y agoHN ↗

From a practical perspective, it's hard to wish for or imagine a legal system that doesn't rely upon judicial interpretation of intent. An example would be causing the death of another human being. Would you want all four of these incidents to be treated the same from a legal perspective?

- A surgery, which is known to have a 50/50 chance of success even at the hands of an excellent surgeon, goes poorly and the patient dies.

- A serial killer spends six months plotting the murder of his victim before executing them.

- A shoving match breaks out at a bar. Somebody slips, falls, hits their head on the ground, and dies.

- You accidentally frighten somebody by sneezing in a quiet library. They have a heart attack and die.

From a purely logical perspective, these are literally the same thing. A person dies! Realistically speaking, any legal system needs to consider intent.

5y agoHN ↗

If the law reached a point where the defendant in all of those scenarios would be found not guilty provided they were wearing a t-shirt at the time saying "My intent is to not kill someone", then we would probably agree that the law is not fit for purpose.

Similarly, if the difference between illegal software and legal software is the value of a random ID in a unit test, or the presence of a boilerplate "Please don't use this for copyright infringement" message in the README, then the law isn't really "promoting the Progress of Science and useful Arts", it is just a gotcha trap for developers who forget to copy-paste a piece of text.

The equivalent from the Prohibition Era would be the warnings on "grape bricks" that told buyers "not to leave that jug in the cool cupboard for 21 days, or it would turn into wine".[0]

[0] https://www.thedrinksbusiness.com/2017/07/rare-prohibition-g...

5y agoHN ↗

No, the court looks to facts to establish intent. It's not possible to look into someone's brain, but courts are very, very comfortable with looking at facts to determine something about what's going on in there.

Crimes like first-degree murder have intent as a requirement. People are convicted of it all the time, and it's based on facts and evidence from before and after the killing.

5y agoHN ↗

first-degree murder

Willful homicide, for non Americans.

5y agoHN ↗

It's hard for a lot of techies to grapple with this, but courts and law are often decided by the intent of the offense. This shows intent, whereas public domain works would not. The difference, in court, is massive.

5y agoHN ↗

It's not that it's hard to grasp, we just think it's irrelevant, since plenty of people also have legitimate uses for this tool, and any other tool that allows them to do the same things is just as capable of downloading copyrighted youtube videos.

5y agoHN ↗

since plenty of people also have legitimate uses for this tool, and any other tool that allows them to do the same things is just as capable of downloading copyrighted youtube videos

True, but _other_ people and _other_ tools aren't relevant to the intent of _these_ authors and _this_ tool. _Your_ intent is relevant in establishing whether _you_ violated the law (and thus whether an associated DMCA takedown is valid).

5y agoHN ↗

Intent does matter only if there's some action taken, or attempted.

The tool just sits there on github. Only the tool's users actually do download stuff or attempt to.

Also you'd be hard pressed to prove such specific intent from some random testsuite url, added by one or two authors, when the tool has very many authors/contributors and the README/manual for users just has non-copyrighted material sample urls, anyway.

RIAA just tries to make it harder to preserve regularly disappearing youtube content, like war crimes evidence, just to make some people richer on some stupid music. I can prove their intent, because that's what this tool is used for, and they're trying to remove the tool from the internet. /s This is the same stupid argument they're using. They will fail, but why not try to make other people's lives harder, right?

5y agoHN ↗

Are there other tools outside of software that we apply this sort of thinking too?

5y agoHN ↗

I don't believe the general principle is limited to either software or tools. It is my understanding that the courts generally operate based on intent, particularly when it comes to criminal law.

(For an arbitrary example, consider the difference between a gas station selling to the typical customer versus someone who asks the clerk for help filling some gas cans and in the process openly admits an intent to use them to commit arson later that night.)

5y agoHN ↗

Can't it be trivially reinstated then by removing any references to copyrighted content? youtube-dl has plenty of legitimate uses beyond just copyright infringement.

5y agoHN ↗

Which is why RIAA is trying to kill the code itself.

5y agoHN ↗

The very premise of copyright itself then.

5y agoHN ↗

They can't fully un-ring that bell. The RIAA will always be able to argue infringement was the purpose since they used copyrighted examples.

5y agoHN ↗

Plus they've advertised themselves as having that capability. I suspect that even after the removal the RIAA will argue that the fact that the ability to download copyrighted material, which is something that the project itself said it could do in the past and has not been modified, makes it continue to be illegal.

5y agoHN ↗

I don't think that's quite how it works. It's not (generally) capability that matters but rather intent.

The RIAA would of course argue that examples of infringement in the test cases or readme demonstrate intent. A reasonable response to that might (or might not, depending on the context) be that infringement in those specific cases was never intentional but instead purely by accident.

If the infringement in this case ends up appearing to be intentional, it would probably make for a very uphill battle to argue that the tool itself was only intended for legitimate use cases.

Edit: Of course, it's reasonable to ask - if it's legal for YouTube to distribute the content, does using youtube-dl suddenly make it illegal? Is it a violation of copyright to record a pay per view stream? What about a publicly available stream paid for by ad revenue?

5y agoHN ↗

I think we're in agreement, it's just that I'm saying that the capability for that remains and the intent was shown to exist already.

5y agoHN ↗

Argue in front of whom exactly? Because thats ONE of the big problems with DMCA.

5y agoHN ↗

This is a proper DMCA claim, not YouTube garbage, so the process goes claim->counterclaim->lawsuit.

5y agoHN ↗

The DMCA only applies to the USA. In my opinion it'll only take days if not hours for the files to appear on a website in Eastern Europe, somewhere that the RIAA can't get at.

If that happens, the difference is that these are public domain non-copyrghted materials -- not the copyrighted videos, thus stopping access to the files will be more problematic.

5y agoHN ↗

What if another person will recreate this repository without history and offending links?

5y agoHN ↗

Might help a bit, but it is still pretty relevant.

5y agoHN ↗

Isn’t the problem that this stuff is on youtube in the first place? The RIAA can’t win against google, so now they’re going against smaller players?

5y agoHN ↗

Didn't RIAA already win against Google? A lot of the messed up stuff with Content ID comes from Google's fight with record labels.

5y agoHN ↗

I think the case here is songs that are legitimately on YT that they don't want people to download (and avoid ads, etc)

5y agoHN ↗

Youtube has a licensing agreement with the RIAA. If they didn't, Youtube would be bankrupt, since statutory damages for copyright violations are $750/violation and there's no legal defense once they show the violation occurred.

(And as someone who has dealt with the music licensing agencies, you always just pay for the license. Paying the big 3 licensing agencies annually for millions of streams cost less than the statutory damages for a single violation.)

5y agoHN ↗

No the DMCA says that so long as they respond to take downs they aren't liable. The agreement prevents litigation that COULD result in a judgement that might modify this deal which is clearly a risk in addition to the cost of ongoing litigation.

5y agoHN ↗

The issue with the readme infects the rest of the code, even if it's removed. It's still evidence that the repository was intended to facilitate copyright infringement. The problem isn't the words of the readme but what those words imply about what the authors of the code intended.

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.

5y agoHN ↗

Equally, then, couldn't another author fork the code and distribute it under a new name, with the offending test removed and a blameless README that says "please don't use my cool code for copyright infringement"?

It sounds like you're saying the problem is with the original authors, not the code itself, so taking down the code seems like the wrong approach for the RIAA.

5y agoHN ↗

Just to add a data point, but back when I still was working for a video distribution startup, we offered our customers the ability to directly import their video inventory from YouTube. They were the owners of the videos, it was just a convenient (and very popular!) feature for them to let us handle this import.

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.

5y agoHN ↗

Yes, which makes this very sad that a simple slip-up can make it very difficult to come back from this.

5y agoHN ↗

I would hardly call this a simple slip-up. It is known that the software could be used to infringe copyrights and other open source projects make it clear that they do not support copyright infringement even when it is clear that their software can be used to do so. (If I recall correctly, Kodi and Calibre are two examples.) Meanwhile, youtube-dl has a test for that specific use case.

5y agoHN ↗

I feel that is rather thin legal grounds, if the examples are what dictate legality. The fact that I can change some text that does not change the function of code, or what can be done with it, to suddenly make it more legal does not sound like very great legal basis.

5y agoHN ↗

I don't know whether I agree that it should be thin legal grounds for a couple of reasons, even though I do agree that changing a few lines of text that doesn't alter the function of the code makes the argument sound sketchy.

Here's why I am not sure whether I agree:

The text in question is described as being part of a test. It is highly suggestive that at least one developer wanted to consider cases where the rights holder may be more assertive (e.g. with potential protection mechanisms), which implies intent. Granted, I don't know what the actual intent was. Only the people who added that text and accepted the commit can know that.

Intent is important when laws are broken. In the minor instances, it may determine whether the law is even enforced. In more significant violations, it may be considered when evaluating legal recourse or damages awarded. While I am uncomfortable with the law being fuzzy, I am also uncomfortable with it being absolute. The latter is especially true when you consider that it is far too common to create laws that protect singular interests.

5y agoHN ↗

I'm not a lawyer, but I am playing devil's advocate here.

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.

5y agoHN ↗

A copyright is for a creative work, not for a set of bits.

It's unlikely transcoding a video added anything creative to the process.

5y agoHN ↗

Yes I am aware that the bits are not what is copywritten and I am not suggesting Youtube has any right to the content itself. But using youtube-dl to download content from a competitors site is taking advantage of the functionality on that competitors site to add value to your own product.

It could still be in Youtube's interest to prevent this from happening.

I'm asking why you would expect a competitor to make your own product more compelling for your customers.

This is a further example that Youtube-dl is there to circumvent the intended functionality of Youtube.

5y agoHN ↗

But YouTube is not the one taking legal action here, The RIAA is.

5y agoHN ↗

It could still be in Youtube's interest to prevent this from happening.

And in fact it is illegal for YouTube to lock your data within their service in that manner in the EU. You have a right to export your data and they have the responsibility to make it make possible to move that data to a competitor where technically feasible. And it clearly is technically feasible.

5y agoHN ↗

Transcoding a video is making a copy of a creative work. Ergo, by definition, copyright applies.

In fact, if transcoding a video added anything creative to the process, you would have two copyrights: one for the original creative work, and a second for the derivative (transcoded) work.

5y agoHN ↗

You missed it. OP has rights to the work. The question was whether downloading from Youtube breaks any laws. Youtube's add is transcoding, which is not a creative transformation. Ergo, OP probably has a legal right to download from Youtube, at least as far as copyright law is concerned.

5y agoHN ↗

No, I saw that. I was responding to the immediate parent, not the OP. The comment I was responding to was whether transcoding is an act covered by copyright, and it is.

The OP's comment was different. He was using youtube-dl to download videos uploaded by his own clients, which was fine because they're the copyright owners. Transcoding doesn't generally create a separate copyrighted work because at least for these types of media, the underlying representation of the bits doesn't matter.

Note: this isn't fair use. Fair use is a defense to violating copyright, and a copyright owner can't violate their own copyright ...but if they licensed one or more copyrights to a third party, they could violate the third party's copyrights depending on the terms of that license.

5y agoHN ↗

Not PC but,

Some people use YouTube as their repository. Or if they lost the original files it would be a way to recover something. I once had to download mp3's of my own music from MySpace because I had an HD crash and lost them.

5y agoHN ↗

Sure that is perfectly reasonable. And the fact that YouTube is a resource for this is one of its competitive advantages. So it makes sense that YouTube might make it hard for other parties to take advantage of its position as a repository. Thus Youtube-dl is created to circumvent this design choice on the part of YouTube.

5y agoHN ↗

YouTube's design choice is to serve all their content via an open api, which is why youtube-dl works. It's not circumventing anything.

5y agoHN ↗

I too offload my personal vidos (family/kids) to youtube from my iphone. I used to back them up on a Hd but it has since crashed so whats on youtube is basically my sole backup. If youtube dl goes down I’ll have a hard time retreiving all that

5y agoHN ↗

I stopped sending my data to YouTube years ago for privacy reasons, so I have multiple HD backups. External drives are cheap now. If you use three drives you've redundancy and two of the drives can be second-stage/downstream backups so the drives can be configured so as they're used intermittently, thus they get very little wear and remain reliable.

5y agoHN ↗

"Some people use YouTube as their repository."

I wondered when this would happen. I'm. not referring yotube-dl specifically but the third-party repository problem such as Github and YouTube where material exists principally on one site.

The fact that the RIAA is involved makes it high profiled case and should warn people that distributed systems/repositories are a much better (safer) idea.

5y agoHN ↗

It doesn't matter how much value YouTube adds. It neither owns, nor does it assert that it owns, the copyright to these videos. Banks provide a value-add service for your money. They don't own your money. Value-add is not a valid legal test for copyright ownership.

5y agoHN ↗

Right, and again, I'm not saying Youtube has any copyright ownership here. I'm saying they provide a service which adds value and as a business they may want to protect that competitive advantage.

5y agoHN ↗

The question here isn't whether youtube owns the videos, the question is whether youtube's use of anti-scraping measures constitutes DRM that, by circumventing, violates the DMCA.

5y agoHN ↗

Did your customers own those video files or the rights to the video?

Not sure why that's relevant?

I often use(d) Youtube-dl to grab 1080p videos to watch once, not to keep them. eg as an alternative to Firefox

That's because YouTube itself recently seemed to change something about their streaming, such that some 1080p video's now stutter and don't work correctly.

So, I download them to a temp directory then watch with VLC instead. Then batch clean up the temp directory when it's getting full.

eg Youtube-dl is just another Youtube client, no different from a browser. If you're saying that watching media via Youtube-dl is different than watching it via Firefox... to me that sounds incredibly bizarre.

5y agoHN ↗

The point is YouTube is a video streaming service. Not a file host.

5y agoHN ↗

Errr, yes?

A video streaming service is literally a host for video content + UI's for accessing it.

Whether YouTube internally stores those video's as single files, as multiple versions of a file, as chunked pieces, or whatever... who cares? They'll obviously optimise their backend storage for their particular needs.

Whether you start viewing in the middle of a video, or from the start... are you're trying to say it makes a difference?

Because VLC can seek around a video too.

With YouTube-dl, I download the video, and watch it. At some point, it gets deleted.

With Firefox, I download the video and watch it. At some point, it gets deleted.

Are you saying it makes a difference whether or not it gets assembled into "a file" on the receiving side in order to watch it in an appropriate player?

5y agoHN ↗

Right, but that's not the heart of the matter.

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.

5y agoHN ↗

The kicker is that if their demo examples had been something like that, or e.g. students downloading copies of free lectures, or etc, the RIAA would have much less of a case. No actual code would have had to change.

If you have a tool which skirts (bad, overreaching, probably constitutionally invalid) laws, be smart about how you present them!

5y agoHN ↗

If this content is freely available, why can't we take a fair use copy? That is not a violation of copyright. (Even if it is entertainment / not educational.) Those are the terms of the deal, we made when we enshrined copyright into law. If you can show it to me, then I am allowed to take a copy. (Is it not? I thought that DMCA law itself was written to skirt around this fact of law.)

5y agoHN ↗

If this content is freely available, why can't we take a fair use copy? That is not a violation of copyright.

Making a copy on its own is not fair use. What matters is the reason for making the copy. If you are making an connectivity-shifted copy (aka, for viewing away from internet access) there could be a fair use argument to download content from a streaming site that is not otherwise available for offline consumption.

But the flipside of that: if there is a way to access the content in a way that fair use is not implicated (i.e., because the copyright owner makes the content available for that use case such as offline viewing, even if payment is required), then generally fair use does not apply.

Remember: fair use is a defense to violating copyright, and it must be reasonable under the circumstances. Not wanting to pay for a license for your intended use case is generally never considered reasonable.

If you can show it to me, then I am allowed to take a copy.

That has never been the law, at any point in the history of copyright, dating back to before copying works was trivial.

5y agoHN ↗

Taking a copy does not affect the potential market of the copyrighted work in any way. Sharing a copy is another matter. Youtube-dl facilitates taking a copy only, it is not a tool for sharing. This case is substantially different than Napster, I disagree. In some circumstances, you must be able to take a copy in order to exercise your allowed "transformative" fair use rights. You cannot sample a record without a way to take a copy.

5y agoHN ↗

The article you cited is about fair use when distributing a video. It does not address making a copy for personal use.

5y agoHN ↗

I don't think it does. Just because there are copyrighted works in the test cases, doesn't mean they are willfully in violation of copyright. If I am granted a license by Youtube to view this material, then is it not also fair use if I take a copy for later review, or otherwise maintaining the fair use rights innately afforded to me by copyright?

What other facilities could I use to exercise my fair use rights in this case, besides tools like youtube-dl? If the video is already available freely for viewing (with advertising), are there any greater damages that aggrieved parties could calculate than the loss of advertising revenue from my repeated viewing of that file?

What incentive is there for me to share this file in violation of copyright if anyone can download a fair use copy for themselves, with the tools provided by youtube-dl?

5y agoHN ↗

It makes it worse because otherwise they could have argued that the README was separate from the development of the tool itself, so the tool itself wasn't intended for violating copyright.

By putting the infringing act into the code of the tool itself, they lose the ability to make that argument, and moreover show that the tool was built to infringe copyrights, because clearly they thought it was important enough to be able to infringe copyrights that they created multiple unit tests for it.

are there any greater damages that aggrieved parties could calculate than the loss of advertising revenue from my repeated viewing of that file?

The loss of advertising revenue is largely irrelevant unless the RIAA chooses to demonstrate the amount. Copyright law provides statutory damages starting at $750, and for that they just need to show a single infringing act (and for each additional act they prove, they get another $750).

What incentive is there for me to share this file in violation of copyright if anyone can download a fair use copy for themselves, with the tools provided by youtube-dl?

You're assuming a fair use case for using youtube-dl to download a copy of a licensed music video. But fair use is defense to a claim of violating copyright, so you need to show why your use is a fair use, you can't just say "fair use" as if it were a magic spell that makes your legal problems go away. And generally, it would be difficult to prove fair use for any of the content covered by an RIAA license because they make that content available for use offline, time-shifted, etc...they simply require that you pay for that.

5y agoHN ↗

it doesn't matter if there are also legitimate fair use uses of the tool.

What are you basing your legal theory on?

5y agoHN ↗

The text of the DMCA and cases based on it.

Once the infringing use has been established, it doesn't matter that there is also the potential for legitimate fair use. If it did, then Napster, Kazaa, and Limewire would still be around because they all had the potential for legitimate fair use.

5y agoHN ↗

Not having read any legal literature around or really understanding the DMCA, how can they not make a distinction between things with legitimate uses and not? How do torrent clients stand up to that?

5y agoHN ↗

iTunes was designed [in part, probably a principal part of the original design] for CD ripping, I gather (I haven't personally used it more than twice, many years ago).

Format shifting was at the time not allowed in UK copyright law, and again is not allowed as of a couple of years ago (it was only allowed for about a year).

iTunes was designed for copyright violation. I'm sure the manual will show that.

Just for comparison.

It's my understanding that any media _can_ fall under Fair Use in the USA, meaning that there would have to be specification as to who was using the software and their circumstances within the unit tests in order to make it infringing use. You might fir example be archiving, or preparing educational materials, or compiling a review, or doing subtitling.

It's not sufficient to prove someone downloaded, you have to show it was infringing activity. How do you do that with a unit test? Software to perform legitimate, legal downloads would still have to do that same test.

In short you've found a smoking gun, now prove its principle purpose is murder.

This comment is provided solely for entertainment and in no way relates to my employment.

5y agoHN ↗

Tunes was designed [in part, probably a principal part of the original design] for CD ripping, I gather (I haven't personally used it more than twice, many years ago).... iTunes was designed for copyright violation. I'm sure the manual will show that.

No, Itunes was designed for organizing music. How you got that music was a separate function,and you could split out the CD ripping functionality and still have the primary function of iTunes. Additionally, making copies of physical media for personal archival purposes is recognized as a legitimate fair use (and was back then), so the the CD ripping functionality would have generally still have been okay. And yes, there is case law on when ripping CDs is considered fair use and when it is not.

It's my understanding that any media _can_ fall under Fair Use in the USA, meaning that there would have to be specification as to who was using the software and their circumstances within the unit tests in order to make it infringing use. You might fir example be archiving, or preparing educational materials, or compiling a review, or doing subtitling.

Yes, any media can be subject to a fair use defense. The second statement is not relevant to the copyright analysis. The last statement are examples of fair use, but note that acquiring the content for the purposes of preparing educational materials is not automatically "fair use". For example, preparing educational materials for a class provided at a for-profit institution, or in educational materials sold commercially, would not support a fair use defense, though otherwise the use of copyright content in educational materials has generally been deemed fair use.

It's not sufficient to prove someone downloaded, you have to show it was infringing activity. How do you do that with a unit test? Software to perform legitimate, legal downloads would still have to do that same test.

The unit-test is a part of a different analysis from a basic copyright infringement claim; That question is whether the tool is intended for violating copyright and for that, they don't need to show any infringing activity actually took place, only that the tool was intended for infringing activity. The DMCA does not require a creator to suffer harm before they sue, since it recognizes that in the computer age, once such harm occurs it may not be possible to put the genie back in the bottle.

5y agoHN ↗

No, iTunes was designed for organizing music. How you got that music was a separate function, and you could split out the CD ripping functionality and still have the primary function of iTunes.

Well, being able to rip music off your CDs was literally advertised as an iTunes feature; Apple promoted iTunes after its introduction in 2001 with the slogan "Rip, Mix, Burn." And Apple did get accused by various industry players of promoting copyright violation. I wouldn't say that iTunes was "designed for copyright violation" any more than I'd say youtube-dl was "designed" for it, but Apple definitely understood that iTunes had value to people who wanted to make digital copies of media in ways that did not strictly fall under fair use guidelines. :)

5y agoHN ↗

but Apple definitely understood that iTunes had value to people who wanted to make digital copies of media in ways that did not strictly fall under fair use guidelines.

Ripping CDs for personal archival copies had already been characterized as fair use by the courts by the time iTunes was first released. If it hadn't been, the industry players wouldn't have just "accused" Apple of promoting copyright violation, they would have done something about it. The music industry has always been very aggressive about protecting their IP rights.

It would have been very different if iTunes had the slogan "Rip, Mix, Burn, Share."

5y agoHN ↗

A unit test seems like fair use.

I don't know where tranformation would land as they are just streaming data and not actually viewing it.

It's (potentially) the whole content, but a case that was literally just uploading an entire video as-is with a different title was ruled fair use not too long ago, so this isn't itself damning.

The nature of the work seems irrelevant here as it's not viewed. It could easily be replaced with any other video -- even one owned by the repo creators.

Likewise, since they are unit testing rather than viewing the content, I doubt there is any commercial harm and the market overlap between video viewers and unit testers is zero.

5y agoHN ↗

No, the unit test isn't fair use, because it wasn't necessary to violate the license holder's copyrights in order to test the code.

It's (potentially) the whole content, but a case that was literally just uploading an entire video as-is with a different title was ruled fair use not too long ago, so this isn't itself damning.

I'd like to see a cite for that. Generally, uploading whole content owned by someone else is not fair use absent something like the content being newsworthy in itself (such as video of a police beating). Otherwise, fair use would generally require some transformative effort.

Likewise, since they are unit testing rather than viewing the content, I doubt there is any commercial harm and the market overlap between video viewers and unit testers is zero.

Copyright violations don't require the copyright holder to prove commercial harm. That's the entire point of statutory damages.

5y agoHN ↗

"Not necessary" doesn't mean it's not still fair use. Lots of things aren't necessary but one definition or another. The argument here is that it's lack of necessity makes it incidental.

Here's the Carl Benjamin case covered in bloomberg (you can look up the specific case if you'd like) https://news.bloomberglaw.com/ip-law/youtuber-wins-attorneys...

Copyright violations don't require the copyright holder to prove commercial harm. That's the entire point of statutory damages.

This is explicitly one of the four points of fair use as stated by the US government, so it's very important.

https://www.copyright.gov/fair-use/more-info.html

5y agoHN ↗

Downloading a Youtube video with youtube-dl IS NOT violating copyright in the USA.

Downloading videos may violate Youtube's TOS, but that's civil/contract law and not criminal and so the DMCA can't be used to enforce such TOS violations.

A person might share a video they don't own the copyright to, after downloading it from youtube with youtube-dl, but youtube-dl has no functionality in it to do such illegal sharing. It only has the time-shift functionality.

The only tenuous leg the RIAA has to stand on is claiming that allowing only streaming of content constitutes some form of digital rights management code, and by reverse engineering it, without imposing the same restrictions as Youtube's website and apps, do, maybe that's some form of circumvention which will be found not entirely legal.

They had to cite a German legal ruling which found YouTube’s “rolling cipher” was an anti-circumvention device. But German court rulings have no bearing on US law, and Germany doesn't have a DMCA statute, so it is a specious claim, and the RIAA is just hoping an open source project won't be able to fund a legal defense.

It's Betamax time-shifting plus macrovision/video stabilizers all over again.

5y agoHN ↗

Downloading a Youtube video with youtube-dl IS NOT violating copyright in the USA. Downloading videos may violate Youtube's TOS, but that's civil/contract law and not criminal and so the DMCA can't be used to enforce such TOS violations.

Downloading a Youtube video is making a copy. Whether it is a copyright violation depends on whether Youtube's license includes letting visitors make permanent copies, as this is considered a separate type of license. The TOS has nothing to do with it.

A person might share a video they don't own the copyright to, after downloading it from youtube with youtube-dl, but youtube-dl has no functionality in it to do such illegal sharing. It only has the time-shift functionality.

This is false. Also, time-shifting is not a a valid fair-use defense for material available on-demand, because the justification for time-shifting (as in the Betamax case) generally no longer exists. There are other fair use arguments that could be made, but time-shifting isn't one of them.

They had to cite a German legal ruling which found YouTube’s “rolling cipher” was an anti-circumvention device. But German court rulings have no bearing on US law, and Germany doesn't have a DMCA statute, so it is a specious claim, and the RIAA is just hoping an open source project won't be able to fund a legal defense.

I don't know if you're joking or not, but they cited a variety of US cases. Kazaa, Limewire, Napster, etc, are all US cases that all came down the same way: a tool intended primarily for copyright violations violates the DMCA, and in certain cases can even expose its developers to statutory damages under the copyright code.

It's Betamax time-shifting plus macrovision/video stabilizers all over again.

Nope, not even close for so many reasons already explained in this and other comments.

5y agoHN ↗

Downloading a Youtube video is making a copy. Whether it is a copyright violation depends on whether Youtube's license includes letting visitors make permanent copies, as this is considered a separate type of license. The TOS has nothing to do with it.

YouTube is not the copyright owner (in almost all cases). Downloading a video with youtube-dl may not be a copyright violation if you already separately hold a suitable license, or are in fact the copyright owner yourself (as in the case of one of the grandparent comments).

5y agoHN ↗

Yeah, I should have worded that better. I was referring to Youtube's license with the RIAA, since Youtube doesn't provide a copyright license to its users for content licensed from third parties.

If the license between the RIAA (or other licensor) and Youtube allowed visitors to make permanent copies of Youtube streams, then downloading a Youtube video would not be a copyright violation. But generally, having entered into streaming and downloading licensing agreements with the RIAA before, I would be extremely surprised if the RIAA would enter into such a license with Youtube, as it would kill sales of digital music downloads if people could just download permanent copies of Youtube videos instead for free.

If you own the copyright and upload a video to Youtube, then it wouldn't be a copyright violation to download that video from Youtube.

5y agoHN ↗

Technically, even streaming is making a copy.

5y agoHN ↗

I haven't seen anyone else making this argument yet, but yes! Chunk by chunk, streamers copy bits into their buffers and discard them as they are done watching. Is that discarding required, when the same companies can charge extra for additional bandwidth usage (not for making additional copies, but for clogging up their pipes)

I'm not sure if this is going to be considered similar to taking a full copy but I'm also not sure what substantial purpose there would be for taking that full copy except for the (probably valid fair use) purpose of shifting access to manage time, location, or network conditions. Given that you pay separately for your bandwidth, and there is an incentive to conserve it, I don't see any way this isn't considered fair use without a sharing component.

Taking a copy is incidental to lawfully consuming the content that was provided in an authorized setting, whether that copy is stable or not. Nobody is hosting copies of YouTube content, paying the bandwidth and hosting bills so anonymous co-parties to the infringement can enjoy the content separately from the authorized channel, (it is not even suggested that anyone would want to do this.)

5y agoHN ↗

Technically, even streaming is making a copy.

Yes, that is why streamed content is now generally covered by streaming-specific licenses, as noted above.

5y agoHN ↗

Downloading a Youtube video with youtube-dl IS NOT violating copyright in the USA.

Are you a lawyer? Ethically I agree with you: copyright law regulates distributing copies to other people, and YouTube is the only one doing that in this scenario.

But I've been told in other internet discussions that courts don't see it that way. Basically, that the point of the law is to allow big companies to stop people from accessing media without paying, and the interpretation is stretched as far as it needs to be in order to enforce that.

So I don't know what to believe here.

5y agoHN ↗

Yeah if you get realistic about it, courts in the USA simply see it the way of the party with the most money all the time. You can interpret laws until you're blue in the face, but they get to break the rules.

Clearly whenever we discuss laws in the USA as they pertain to a small party versus a giant corporation, we do so in the context of a hypothetical fantasy where these laws are actually followed equally.

It's like everybody's playing hide 'n seek, and you're like "of course a real SWAT team would surround and find you in moments".

5y agoHN ↗

Yeah if you get realistic about it, courts in the USA simply see it the way of the party with the most money all the time. You can interpret laws until you're blue in the face, but they get to break the rules.

This is a result of money being a proxy for competence.

5y agoHN ↗

They may not be a lawyer, but they have basic grasp of copyright law. It is indeed distribution of copyrighted content without permission that is illegal, not obtaining it.

5y agoHN ↗

Courts take a very non literalist approach to technology. Even though YouTube is literally sending copies of the video to users’ computers, because they provide no convenient mechanism for saving the video then courts will tend to ignore that. Instead, it will be argued that a musician’s YouTube channel is acting like a venue and the users are attending an authorized public performance. youtube-dl would then be equivalent to someone recording a concert using a camera.

They might have a very strong case in court. One of the reasons youtube-dl is so active as a project is because they’re in an arms race with Google. Google regularly changes how videos are delivered in an effort to thwart downloading tools. The RIAA could seize on this and even have Google testify that they’re trying to protect against this unauthorized downloading. Given the revelations about the tests in youtube-dl’s own repo, it would be a very difficult legal battle.

5y agoHN ↗

And that's what the README showed: that youtube-dl was built primarily to violate copyright.

That's not what "primarily" means.

5y agoHN ↗

Sounds like Google are the ones infringing, not youtube-dl.

5y agoHN ↗

To add another item to the list of legal, legitimate uses of YouTube-dl: lots of public domain content is uploaded to YouTube, including a lot of media produced by the US government. For example, The White House has a YouTube channel, and my understanding of US law is that the vast majority of the content uploaded to that channel is public domain (produced by federal employees in the course of their job). Journalists or anyone else wanting to monitor the government would likely find YouTube-dl useful for archiving this public domain content from government channels.

5y agoHN ↗

Google should add direct download links for public domain content, but that's another fight entirely.

5y agoHN ↗

Why should they ? YouTube is in the streaming business, not the archival business. If someone wants to make their videos available for download they should post a link on their website, served through their servers and bandwidth.

5y agoHN ↗

Presumably as a condition of being allowed to hold their monopoly status and treat the (publicly developed) internet as a source of annuities.

5y agoHN ↗

Isn't streaming live video? It seems to me that youtube is exactly in archival video and hardly in streaming. But it's a big site so maybe a lot of people use it in ways I don't know.

5y agoHN ↗

Youtube benefits from being everyone's go-to site for finding video content. Keeping that monopoly of mindshare is worth far more to them than any short sighted profit maximisation.

5y agoHN ↗

Actually, you can host any amount of pirated video content on youtube, as long as its "visibility" set to "private"...

5y agoHN ↗

I've gobbled hours of Cspan videos with youtube-dl. Turns out cspan is a hodgepodge of like 3-5 video hosting and codec schemes, but it is able to pull about a 3rd of them no problem.

Definitely forking it, I need this to continue my research.

5y agoHN ↗

Hope you can find a way to fork it. GitHub has disabled the repo and many forked repos.

5y agoHN ↗

The beauty of `git clone` is that there are copies of the repository on many thousands of hard drives (including mine -- last pulled a few days back). The main loss at this point is the metadata stored in GitHub's proprietary addons, like issues.

We can hope this inspires a) greater suspicion toward proprietary players that are sitting atop open-source work like GitHub (they're not the only one by any stretch); and b) greater adoption of systems that distribute the software's entire history together, including documentation and bug reports, e.g. Fossil.

5y agoHN ↗

I'm the Founder of BackHub and that's one of the reasons why we offer backups for GitHub repositories, incl. the metadata! Reach out for a discount.

5y agoHN ↗

And there is GitCenter, which is git over zeronet (a p2p network similar to BitTorrent but for dynamic content)

5y agoHN ↗

Is there alternative to github? Feels like there should be. One that isn't regulated, a wild west for lost code so to speak

5y agoHN ↗

I'd love to be wrong here, but there are two separe things, content license and general YouTube terms of use, I think the terms prevent you from downloading any content, the fact that some content is licensed CC has to do more with being explicit, perhaps for displaying publicly or just informative, and I want to think they are leaving a bit of gray area for non abusive use(tons of downloads) , but you can see there is no download button, and if you build something that depends on it to certain scale they could go after you with terms of use, not license.

If you can prove me wrong with some link to where are we covered legally to download CC content from YouTube, it would make me very happy.

5y agoHN ↗

I think the terms prevent you from downloading any content, the fact that some content is licensed CC has

Maybe you are right. If that is the case it is questionable whether contents produced with tax payers' money should exclusively hosted on Youtube to increase Google's income and restrict tax payers' rights.

5y agoHN ↗

As another data point, I used youtube-dl to download thousands of videos that were part of a cipher puzzle. It would have been infeasible without it.

5y agoHN ↗

I remember using youtube-dl back 8 years or so ago when I was an undergrad in India to download MIT OCW lectures (and others e.g. SICP vidoes, Coursera), because bandwidth was limited, download was capped, and 3G was too expensive. I could watch these videos anywhere, and whenever I wanted. And I'm pretty sure non of those videos had (or even have) ads.

5y agoHN ↗

not to mention its a console cmd and works well in scripts. i used it for a lot of sites that have their videos free but i used a console browser and used this in a script that i could call through the browser. i never looked at how it worked or what i could do with it in a non legitimate way but i wonder if i did unintentionally. i wonder if its the download part that is the issue though for some sites can have free to watch but might have issue with downloading funnily enough screen recording does exist.

5y agoHN ↗

Curiously, what do scrapers (aka "readers") have to worry about with this topic?

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.

5y agoHN ↗

I think the recent LinkedIn case established that it is legal to scrape anything which is publicly available (ie no login required). Redistribution would be a copyright violation, but the scraping itself is legal.

I'm not sure what that means for youtube-dl though.

5y agoHN ↗

The same argument can be made for video that's also publicly available.

Not to mention, youtube has it's own Download function in the mobile apps, even for copyrighted content. So there's that.

5y agoHN ↗

youtube has it's own Download function in the mobile apps, even for copyrighted content

Wait, seriously? I had no idea. I would think the presence of such a feature would severely undermine the RIAA's case.

5y agoHN ↗

It does, but it's only available for those who have a subscription to youtube premium.

As such, I assume the RIAA will try to argue that it doesn't fall into the same bucket that youtube-dl does, since the method of accessing the site is different (scraping the site, vs a sanctioned API)

5y agoHN ↗

it's only available for those who have a subscription to youtube premium.

No. It's available for free users as well AFAIK.

5y agoHN ↗

This is exactly the point. All they had to was use their own videos for the tests and readme and the dcma takedown would probably never would have happen. Plausible deniability.

5y agoHN ↗

It beats me why they'd use those videos as examples knowing how finicky copyright law is.

5y agoHN ↗

Perhaps the SFLC[0] should be actively seeking out popular Free Software projects and pre-emptively auditing them for legal issues such as these. That must be a more cost-effective (and crowd-sourceable) process than actually fighting a legal case against the RIAA.

[0] https://softwarefreedom.org/

5y agoHN ↗

"Napster could have been used for legal means as well, and it got destroyed in court."

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.

5y agoHN ↗

It's not even clear that youtube-dl vs watching in the browser is any different from watching on tv vs using your vcr to record which has long been legal.

5y agoHN ↗

In this case, it "steals" the ad revenue that the copyright tries to protect, no? Or am I thinking about this incorrectly?

5y agoHN ↗

This is an argument copyright owners tried to argue with VCR and later TiVo, as it lets them skip out on the ads.

5y agoHN ↗

Nobody can steal their own attention

5y agoHN ↗

RIAA definitely does go after Google. They file countless DMCA takedowns on videos that re-upload content from official accounts.

Unlike Napster, Google just complies and hence doesn't have much of a case against it like Napster did.

5y agoHN ↗

RIAA already went after YouTube. That’s why Google added the ability to scan for copywritten material. Google wanted YouTube to be a friendly place for people to view content. That meant playing ball with RIAA.

5y agoHN ↗

Intention is a component of the law. Youtube-dlc apparently intended to assist in infringing the copyright.

We're still fighting over the color of bits. It's all a bit technically bozo, but, sigh.

5y agoHN ↗

The fact that copyrighted works were included in the readme shows it was intended for that use

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

5y agoHN ↗

While I agree with the point, a strong case can be made that the music video in the README and the test case were a poor choice.

A silly home video, preferably uploaded by the maintainers themselves would've just given RIAA's claim no teeth.

5y agoHN ↗

It was however a very poor choice, given that they could have picked something better.

5y agoHN ↗

We might as well ban screen shots because it can illegally reproduce photography stills. /s

5y agoHN ↗

Android allows applications to disable screenshots while they are running, as a form of DRM.

5y agoHN ↗

It's not a problem on a rooted phone, irrespective of what app developer decides or wants. And as I've mentioned, at a pinch, just photograph the screen with another device.

These days, just about anyone can copy anything that the DMCA covers despite any attempts to protect it. The answer is elsewhere, that is copyright laws have to be updated to be equitable to everyone. Unfortunately, it's dinosaurs like the RIAA who are standing in the way stopping it.

5y agoHN ↗

Napster wasn't merely a tool it was a centralized service that provided an index of infringing files and where to get them. It both directly assisted in the act of infringement it profited from same.

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.

5y agoHN ↗

Distributing something that downloads copyrighted content isn't the problem though - the problem is "circumventing a technological measure that effectively controls access".

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?

5y agoHN ↗

The fact that copyrighted works were included in the readme shows it was intended for that use

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?

5y agoHN ↗

From my perspective it kind of seems like YouTube-dl is like a knife, it can cut your food, but it can also be used to kill someone. In the case of YouTube-dl the knife was included with instructions on how to kill someone, so it was deemed a potential "murder weapon".

  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.

5y agoHN ↗

I followed the Napster trial closely. Napster’s argument that it had legitimate use was demolished because it had an ability to monitor the specific use of its service on an ongoing basis. That is, it could see queries from users as they happened. In fact, this ability was at the core of the service since Napster relied on a centralized search index maintained by the company. The court ruled this gave the company a more active role in contributing to infringement than the precedent Napster was trying to use (which involved VCRs - the Betamax case).

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

5y agoHN ↗

The fact that copyrighted works were included in the readme shows it was intended for that use

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.

5y agoHN ↗

Just an anecdata point but I was one of the people who used Napster for legitimate purposes (I used it to distribute music I created, gaining small recognition that wasn’t something I could’ve achieved otherwise with my music and my means and other technologies available). The thing that was disappointing in the fallout was that it caused many years of evasion tactics that made finding a comparable distribution multiplier very difficult. For my own use, I stopped caring about making music for others and trying to find a way to get an audience, and I happily play and write music now for my own joy and amusement, but I hate to think how many artists really struggled to find an audience the same way and came up short

5y agoHN ↗

Seems like putting that in the readme was pretty stupid. Intent matters in legal things, making the example infringing undermines the argument that the tool is good and some people are just bad.

This feels like DeCSS all over again.

I think napster would be the better comparision (and especially napster compared to vcrs)

5y agoHN ↗

I don’t see how Napster is more applicable than vcrs. YouTube in this case is the broadcaster, putting content out to a general viewing public, ytdl is a recording device. For Napster to work, YouTube has to be imputes with illegally providing the copy and ytdl has to be the means to facilitate the copies transport.

5y agoHN ↗

Napster and VCRs were both accused of being tools to infringe copyright, VCRs won the lawsuit, napster lost. A big part of that related to how napster positioned itself in terms of marketing compared to vcrs.

5y agoHN ↗

They did not put that in the readme. The README contains only references to test videos, videos that don't actually exist, and one small-time video (in spanish?) that seems to be an old test video, but I have a hard time seeing for sure.

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...

5y agoHN ↗

There's stuff like Justin Timberlake in there and Taylor Swift. This was immensely sloppy considering how the RIAA has won cases before.

5y agoHN ↗

But from what I can tell, these unit tests don't even download the video - just pull metadata.

5y agoHN ↗

so should we take down web browsers as well? because they CAN be used to download copyrighted music and videos.

5y agoHN ↗

I think you are misunderstanding the legal argument. The DMCA Section 1201 specifically prohibits (among other things) technology that "is marketed ... for use in circumventing a technological measure that effectively controls access to a work protected under this title." The example in the README is evidence of this.

The argument is that youtube-dl is primarily used for breaking DRM not just that it could be used for doing so.

5y agoHN ↗

Calling the thing youtube-dl in the first place rather than GenericDownloadHelper or something like that could, I guess, be seen as marketing it for a specific purpose.

5y agoHN ↗

Sadly yes. Legally this was actually rather stupid.

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.

5y agoHN ↗

so, let's fork it and call it something like FURIAA

5y agoHN ↗

Yeah I'm sure the RIAA won't notice their name hidden in there and argue the tool is designed to obtain their content.

5y agoHN ↗

Too late; the code is already tainted. It carries the colour of "intended, marketed and used for copyright violation", and you can't just wash it away by reuploading the repo under a different name.

5y agoHN ↗

Why not?

If youtube-dl incorporates some generic HTTP library (which it presumably does), is that now "tainted" too? If it used the one from Chrome, does everybody have to stop using Chrome? That seems problematic. Also, if that's the case I foresee some epic trolling ahead as people incorporate "interesting" code into their overt piracy tools. I bet some of them even incorporate code built into Windows or macOS.

If not, what stops somebody from taking all of youtube-dl, changing the name and three lines of code, and saying that the removed lines were the ones promoted for infringement?

5y agoHN ↗

There's nothing fancy in youtube-dl. It's just a bunch of ad-hoc scripts maintained by folks which make it convenient to route the api responses to files on disks. Literally things like pulling html and regexing for certain snippets. In fact it supports many video services, cspan for one. It just dispatches to the appropriate scraper based on the endpoint.

5y agoHN ↗

The code is not tainted. It's code not some religious relic.

5y agoHN ↗

Agreed, though the RIAA may well have sent a letter anyway. There's not really any downside to them sending a takedown that is overly broad.

5y agoHN ↗

No reason it can’t be hosted elsewhere with that name after a fork.

5y agoHN ↗

It definitely was very sloppy of them to show examples on actual copyrighted material. Couldn't they have simply put examples of public domain content?

5y agoHN ↗

JFYI i was wrong. There were no such examples in the README or “marketing material,” there was URLs and metadata in a few unit tests.

5y agoHN ↗

Not that big of a difference, since I see unit tests as examples, still sloppy either ways.

5y agoHN ↗

It's not "marketing," though, which is a key difference.

Programmers put weird things in unit tests all the time. Maybe the contributor was making a joke.

5y agoHN ↗

It doesn't have to be marketing. You're showing by example how your app can be used, and one of your examples is to download copyrighted content.

5y agoHN ↗

It would be interesting to see _who_ added this unit test. I wouldn't be surprised if it was some RIAA lackey.

5y agoHN ↗

That's quite a paranoid conspiracy theory you have there. The first mention of one of the urls (Icona Pop) in the git log is this:

commit f7ab6cbe160afbba60537c7a830a4c65c6f0b3ea Author: Filippo Valsorda <filippo.valsorda [at] gmail.com> Date: Tue Jun 25 14:38:00 2013 +0200

    add tests for use_cipher_signature videos (#897) and the ability to test multiple videos per IE

diff --git a/test/test_download.py b/test/test_download.py index 9af626dca..067bde4bb 100644 --- a/test/test_download.py +++ b/test/test_download.py @@ -153,9 +153,11 @@ def generator(test_case): return test_template

### And add them to TestDownload -for test_case in defs: +for n, test_case in enumerate(defs): test_method = generator(test_case) test_method.__name__ = "test_{0}".format(test_case["name"]) + if getattr(TestDownload, test_method.__name__, False): + test_method.__name__ = "test_{0}_{1}".format(test_case["name"], n) setattr(TestDownload, test_method.__name__, test_method) del test_method

diff --git a/test/tests.json b/test/tests.json index fd037d818..f6a70f153 100644 --- a/test/tests.json +++ b/test/tests.json @@ -11,6 +11,32 @@ "description": "test chars: \"'/\\ä�<86>��<9D><95><90>\n\nThis is a test video for youtube-dl.\n\nFor more information, contact phihag@phihag.de ." } }, + { + "name": "Youtube", + "url": "http://www.youtube.com/watch?v=1ltcDfZMA3U", + "file": "1ltcDfZMA3U.flv", + "note": "Test VEVO video (#897)", + "info_dict": { + "upload_date": "20070518", + "title": "Maps - It Will Find You", + "description": "Music video by Maps performing It Will Find You.", + "uploader": "MuteUSA", + "uploader_id": "MuteUSA" + } + }, + { + "name": "Youtube", + "url": "http://www.youtube.com/watch?v=UxxajLWwzqY", + "file": "UxxajLWwzqY.mp4", + "note": "Test generic use_cipher_signature video (#897)", + "info_dict": { + "upload_date": "20120506", + "title": "Icona Pop - I Love It (feat. Charli XCX) [OFFICIAL VIDEO]", + "description": "md5:b085c9804f5ab69f4adea963a2dceb3c", + "uploader": "IconaPop", + "uploader_id": "IconaPop" + } + }, { "name": "Dailymotion", "md5": "392c4b85a60a90dc4792da41ce3144eb",

5y agoHN ↗

That's quite a paranoid conspiracy theory you have there.

RIAA people have been known to do it, you know.

5y agoHN ↗

One could argue that such a test is used only out of necessity - music videos by publishers are unlikely to have their title or metadata changed, which makes for a good static test.

5y agoHN ↗

He could have just uploaded a copy of Big Buck Bunny to an empty YouTube account just for tests...

5y agoHN ↗

The example in the README is evidence of this.

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).

5y agoHN ↗

I'm in no favour for the RIAA but just imagine. It would be a 300IQ move if that specific pull request was engineered by RIAA themself.

Please pull that test case... Fooled! Now there is a legal reason. Here is the DCMA takedown notice.

5y agoHN ↗

But what is being circumvented? As far as I'm aware there are no controls put in place that are being circumvented.

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.

5y agoHN ↗

Although the OS might do that as well when you watch a video and put the computer into hibernation mode.

5y agoHN ↗

Youtube-dl doesn't do anything your browser doesn't do already do when accessing said video.

Also, I asked what is being circumvented, not what the tool does.

5y agoHN ↗

It boils down to the intention. The intention is to download videos to your computer (as viewable mp4 files for end users) which isn't legal, as they are intended to be streamed (or possibly removed in the future) with ads, stats, analytics, recommended etc.

I definitely don't defend this and I know that this whole copyright and DRM thing is fundamentally flawed by design, but it unfortunately works this way legally.

5y agoHN ↗

If it boils down to user intention then you can't also argue the tool is circumventing anything. Either mimicking a browser and working the way google expects any client not written or authorized by them, such as a web browser, to is ok or it's not.

5y agoHN ↗

I don't think saving things is in general a copyright violation?

Knowingly and intentionally obtaining unlicensed content is a violation. Unauthorized redistribution is a violation. Saving and copying things isn't (AFAIK) a violation.

5y agoHN ↗

Saving things is creating an unauthorized copy, which is fundamentally the basis of copyright. Some territories have explicit allowances for personal copies but many don't.

5y agoHN ↗

There are a variety of reasons that you can have a copy of a copyrighted work it a way the copyright holder didn't intend, such as time shifting or media shifting.

5y agoHN ↗

And in many juristictions they are explicitly defined, and don't apply to copyrighted work generally, only when acquired under specific circumstances.

Format shifting is explicitly illegal in the UK for example, and timeshifting is restricted to works obtained from a broadcast source by the person performing the copy, and not to an on-demand one, in many territories.

5y agoHN ↗

A german court ruled youtube's obfuscation of video request signatures is an effective technological protection measure. YoutubeIE._decrypt_signature in youtube_dl/extractor/youtube.py bypasses this.

5y agoHN ↗

As a philosophical issue, since the youtube-dl code is running the cipher off of the code provided by youtube, just as my browser is, why is my browser not similarly circumventing this protection?

At least with CSS a key needed to be found by means separate from actually watching the DVD and wasn't shipped with the user in the same package as the video itself.

5y agoHN ↗

why is my browser not similarly circumventing this protection?

Because your browser also runs the javascript that displays the ads (unless you've also blocked them, which I think could also be considered a "circumvention measure", IANAL).

5y agoHN ↗

If ads we're required, they could certainly not stream a video until the ads have been watched (or at least downloaded and the correct amount of time has passed), they could also insert ads as segments of video without having to transcode all videos for every user, but they don't.

5y agoHN ↗

they could also insert ads as segments of video without having to transcode all videos for every user

That would work in a livestream very well, but not in a video. Imagine everyone getting adverts in the voice of live streamer in the different times of the livestream, and live chat getting time-dilated to compensate, without the streamer itself noticing.

5y agoHN ↗

Sorry this isn't really an argument. How can someone not make the argument regarding the browser in court and not have it align with the German court's prior finding?

5y agoHN ↗

Hm, but youtube-dl doesn't break DRM. You can just get the video link from the dev tools panel when you open a youtube page. It doesn't let you download anything you wouldn't otherwise be able to.

5y agoHN ↗

Have you actually tried that lately? Particularly with a DASH stream? (Not that DASH itself is intended as DRM, but just that it's no longer anywhere near as simple as querying a single URL.)

5y agoHN ↗

Nonetheless, the underlying point holds. If youtube didn't want people downloading it's videos, it's trivial from them to close that up.

5y agoHN ↗

It isn't trivial for them to break platforms that won't get new YouTube apps.

5y agoHN ↗

YouTube have only been permitting YouTube apps on platforms that support Widevine DLM for a long time now.

I suspect they are just waiting for the percentage of older clients in use to fall a little bit further, but the plan is pretty clear.

5y agoHN ↗

I keep refusing to enable DRM on Firefox. Hopefully there are enough people like me to matter.

5y agoHN ↗

They did do that. That's why youtube-dl exists..

5y agoHN ↗

youtube-dl doesn't "hack" into Youtube. The process isn't anything that you can't do manually using chrome dev tools.

5y agoHN ↗

Congratulations on being the millionth person to say that, not one has given instructions on how to do it.

How would you go about putting a DASH stream together in dev tools?

Side note I didn't say hack, nor did the parent. Who are you quoting?

5y agoHN ↗

DRM is ultimately mostly obfuscation. And access to the video fragments in YouTube is heavily obfuscated.

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.

5y agoHN ↗

This makes me wonder: if I fork the project into another product without such marketing it in this manner, and BFG away all troublesome uses (e.g. in the tests) the git history, it would then be legal, yes?

5y agoHN ↗

Except it’s not in the README, it’s in an obscure unit test. That’s not marketing.

5y agoHN ↗

What did the readme say that has no legitimate use? Because even downloading Disney can be legitimate.

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.

5y agoHN ↗

youtube-dl aside, the LockPickingLawyer is an amazing channel.

5y agoHN ↗

I watched a horror movie once, the protagonist had hidden in a fortified escape room and was holding their breath.

Then, the scariest thing ever could be heard

"Click out of 3, nothing on 4."

5y agoHN ↗

isn’t DMCA a US law? so why not move youtube-dl outside the US github to a country that doesn’t have DMCA/copyright?

5y agoHN ↗

I've always struggled with the idea of laws that seemingly seem to overstep their jurisdiction.

5y agoHN ↗

When it's corporations, they have special rights.

5y agoHN ↗

the US is free to decide whatever they want. that doesn’t mean it will also be accepted by other states.

5y agoHN ↗

If you don't comply they then threat to start trade warz and sanctions, simple deal IMHO

5y agoHN ↗

Then host it in a sanctioned state like Cuba or Crimea.

5y agoHN ↗

I wonder what commit added those three listed examples (from three different music companies) to the README, and when. They're the worrying component as they show intent.

In a dark universe timeline somewhere, the pull request for adding them to the README came from an RIAA employee.

5y agoHN ↗

A comment somewhere else pointed out that the listed examples aren't listed in the README, but rather as part of the unit tests.

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.

5y agoHN ↗

That letter is written by lawyers–trying to explain the specifics of "test cases" versus "source code" is unlikely to be a useful use of space. (Plus, if you can get the entire project taken down, why not go for that?)

5y agoHN ↗

Do you know of anything that might be applicable here for arguing a distinction between test cases and actual source code? It's a silly example but bringing a replica weapon through airport security is legal, I imagine, if done to test the security system. From a legal layman's perspective, testing on real data doesn't show intent but is instead good engineering to show that the code is verified for correctness.

5y agoHN ↗

The point being made in this takedown is that youtube-dl can be used for copyright infringement and is being used for copyright infringement, and the test cases pretty much do exactly that. (In fact, if you're a lawyer with a bit of an idea of software engineering, you might make the argument that the code is testing the correctness of whether it can infringe copyright!)

As an (hastily made, non-expert) example consider a particular gun called the "PandaHunter 9000". Now, pandas being endangered species and such, and having reports that people use buy the "PandaHunter 9000" to kill pandas, you might consider banning the purchase of such a gun. Of course, the manufacturer is going to say that you can use the gun for something else, and its intended purpose is not to kill pandas, but then imagine you find that they've actually been shooting pandas with the gun to test it. Do you see why youtube-dl has put itself in a somewhat unfortunate spot?

5y agoHN ↗

I do and thank you for taking the time to reply.

I know my gut reaction to all things IP and copyright (and US) law causes me to lose all rationality, but I'd imagine there's a case to be made that test code is exempt through fair use. I don't think it could be made in this case for the reasons you highlight, but in general as long as the offending tests are a small part of the whole they should be considered separately to the actual code. Like if all my test cases are cracking some DRM then a takedown is probably fair enough, but if I'm using 3 out of 70 plus tests to make sure I handle some YouTube specific algorithm in my tool to download YouTube content then the actual videos I use don't seem relevant. But I get why legally its going to be a huge issue. I just wonder if there might be some case in future where test vs library code is a factor.

Edit: for example in the situation where one of their other tests just downloading a normal video used a copyrighted example instead of a CC example that shouldn't be any different, the content is irrelevant due to it being a test case, it could be any licence, it's just a test, the intent of a test should count.

5y agoHN ↗

I had the same thought so I checked the git history and it seems, if I’ve checked the right lines, they were added somewhere between 4-7 years ago.

5y agoHN ↗

Using a copyrighted music track as the example in the README is really stupid or just shows a total lack of respect for copyright.

5y agoHN ↗

Copyright law is illegitimate and should not be respected.

The stupid thing is hosting youtube-dl in the Untied States.

5y agoHN ↗

"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.

5y agoHN ↗

FWIW, they did not. This was misinformation from me, misreading the DMCA. I am not glad that my misunderstanding will now spread far and wide, but I at least caught it within the edit window.

The DMCA is complaining about test cases. See extractor/youtube.py in your local copy.

5y agoHN ↗

it uses examples in the README as an example of that:

> 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'

5y agoHN ↗

It makes it worse lol. Using links to copyrighted materials in the tests meant to verify correct functionality?

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-...

5y agoHN ↗

They can argue that downloading a publically available video for testing purposes is perfectly legal, because it is.

5y agoHN ↗

Ugh, I don't want to get into this Stallmanist "if the server returns 200 it's ok!" tarpit. If you believe that, it's fine.

You probably won't ever actually need to use that defense outside of internet arguments honestly... for all their noise the most repercussions the average person might ever see from infringing copyrights is a scary letter from an ISP.

Good luck if the legal system decides to test your hypothesis though.

This isn't about YouTube's TOS at this point, you're making a copy of a copyrighted video without the consent of the copyright holder

downloading works protected by copyright without the authority of the copyright owner is an infringement of the copyright owner's exclusive rights of reproduction and/or distribution

5y agoHN ↗

First, it's not actually illegal, at least in my jurisdiction and in a great many, to make a copy of a copyrighted work.

Secondly, the author somehow gave permission to YouTube to make the video publicly available and downloadable, and YouTube is perfectly happy to provide to me the download URL.

5y agoHN ↗

It's illegal in the jurisdiction that Github and the RIAA operate in?

Laws don't exist in a vacuum, so it doesn't seem like a stretch for my comment to refer to the laws actually applicable here right?

Your second point is just remixing the same Stallmanist POV I call out above.

YouTube doesn't just provide you with anything. You go to YouTube, and you find a link, and you stick it in your unit tests.

The fact YouTube's server replies is neither here nor there in the eyes of the law (ironically Youtube does actually return 402 "payment required" and 429 "too many requests" of they figure out what you're doing)

You're free to make whatever esoteric argument you want, but after realizing they did something as silly as put copyrighted videos in the unit tests, there's not much of a leg to stand on.

Especially when there are literally dozens of YT downloader type projects of Github still up right now that didn't do that...

5y agoHN ↗

this Stallmanist "if the server returns 200 it's ok!" tarpit

That would be an Elbakyanist stance, not a Stallmanist one.

5y agoHN ↗

I can't tell if this is an attempt at a crappy joke or you actually think a) Stallman is not exactly the kind of person to make the argument and b) the overwhelming majority of people who prescribe to that line of though aren't aligned with Stallman in other thoughts on technology

Elbakyan doesn't hide behind these kinds of tired non-arguments and instead admits SciHub is illegal and pushes people to take action so it's not: https://engineuring.wordpress.com/2018/07/07/why-sci-hub-is-...

5y agoHN ↗

"You also grant each other user of the Service a worldwide, non-exclusive, royalty-free licence to access your Content through the Service, and to use that Content (including to reproduce, distribute, modify, display, and perform it) only as enabled by a feature of the Service." https://www.youtube.com/static?template=terms

It is enabled by a feature of the Youtube service.

They explicitly disallow downloading, but it is not enforcable (though that word probably doesn't mean what I think it means... the law probably overrules physics)

Severance

"If it turns out that a particular term of this Agreement is not enforceable for any reason, this will not affect any other terms."

5y agoHN ↗

But in that wording they do allow downloading. Features of the Youtube service accessed thought the Chrome browser don't have to be exactly the same as accessed though other browsers and tools, other tools are not prohibited to provide features they can extract and interpret from the received source code and data, they are not obligated to run the code at all or as is.

5y agoHN ↗

It makes it worse lol. Using links to copyrighted materials in the tests meant to verify correct functionality?

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.

5y agoHN ↗

Here, though, Youtube (Google) have contractual agreements to license the use of copyrighted media on their platform, and which is uploaded directly from the record labels themselves.

The RIAA is claiming that YouTube does have DRM on their videos, which if the court agrees, may be the end of youtube support in youtube-dl.

5y agoHN ↗

It doesn't have DRM because youtube download only extracts the direct download link and downloads them. There is no DRM on youtube. Example from the alleged offending link,

youtube-dl --skip-download --print-json https://www.youtube.com/watch?v=UxxajLWwzqY

You can easily copy the links from the formats into your browser and they will play, you can wget them, anything. There is no DRM there, and if anyone convinced you otherwise, they lied.

5y agoHN ↗

Using copyrighted materials in test code is fair use and a well established practice: https://en.wikipedia.org/wiki/Lenna

What kind of nonsense is that? Playboy did fight people for using it, the eventually let it go because it was one image that wasn't particularly important them. It's literally right there in the article you linked...

And I assume you forgot to link to this other program but again, not exactly a real argument.

RIAA went after them on the use of that link, if other projects (of which dozens exist by the way) didn't slip up like that and are still here, it only makes it clearer what the problem was

5y agoHN ↗

Indeed. Those videos are three out of 94 test cases scattered among youtube.py.

5y agoHN ↗

This is so annoying... this means they can go after the OS we are using because some kids use their OS to download pirated stuff

5y agoHN ↗

Linux is already often banned in online videogames with claims that it's done to prevent cheating

5y agoHN ↗

That's some prime rate bullshit. Like saying since I could use Linux to download copyrighted materials, and there are guides around which tell how to do so, Linux should be removed from the Internet.

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.

5y agoHN ↗

Like

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.

5y agoHN ↗

It's pretty ridiculous. They might argue that a browser is a technological measure to protect a copyrighted work which youtube-dl circumvents since the DMCA is written so vaguely. Cases like this demonstrate why anti-circumvention litigation really has to go.

5y agoHN ↗

Except the licensing under which the copyrighted works are uploaded explicitly allow for access via a browser, so no you couldn't. That's like saying that a DVD player "circumvents" DVD encryption, or a key "circumvents" a lock. It's the intended use case.

5y agoHN ↗

You misread or misunderstood my comment. I'm saying according to the RIAA, the browser is the technological measure which the command line program is circumventing.

5y agoHN ↗

Meh, pretty good claim of fair use. They are just picking a smaller file that unlikely to disappear or move. The fact the file is downloaded and then deleted via a script isn't a substitute for actually viewing the file and has zero commercial impact.

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.

5y agoHN ↗

Fair use doesn't apply to DRM circumvention unfortunately. You can't even circumvent DRM for reasons completely unrelated to duplicating a copyrighted work.

5y agoHN ↗

From the RIAA perspective it seems clear this tool was created to download copywritten material. You can disagree with the law or think the tool has other valid uses but the intent of the tool author seems clear here.

The author of the tool should have chosen a better example in the tests to at least maintain plausible deniability.

5y agoHN ↗

People use it for many purposes. Researches downloading public domain material etc.

Does any camera manufacturer showing a camera filming a live concert in some promotional video needs to worry?

5y agoHN ↗

Yes, obviously there are legitimate uses. That’s not the point. The point is the actual codebase of YouTube-dl features copyright infringement as a test case. RIAA is using this to make the case that the tool is designed to aid in copyright infringement.

That seems like a reasonable argument given the evidence and the DMCA. I’m not defending the DMCA or RIAA here.

5y agoHN ↗

Without the existence of youtube-dl, youtube itself is necessarily commuting copyright infringement over the a good portion of the CC-By-SA works uploaded to youtube.

(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)

5y agoHN ↗

I think in that case the copyright infringement would be the uploader rather than YouTube, but IANAL.

5y agoHN ↗

There are CC-By-SA works uploaded to youtube by google employees while at work.

5y agoHN ↗

I think you have a good case, if the copyright holder/author is also someone else than the uploader.

5y agoHN ↗

Only if the employee is doing the upload as a function of their job can google have any liability. In any other circumstance google s protected by the safe harbor provisions of the law.

5y agoHN ↗

actually that it is in the test cases instead of the readme makes it seem worse to me, after all the readme is not addressed to anyone in particular, they needed examples of things someone might do and they used popular videos (that happened to be copyrighted) as those examples.

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.

5y agoHN ↗

Does it really matter what they said?

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.

5y agoHN ↗

I've always wondered, are courts fooled by such disclaimers? Are their authors untouchable just because they put in some boilerplate disclaimer like that?

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.

5y agoHN ↗

I've always wondered, are courts fooled by such disclaimers?

No. And there's no educational exception in the DMCA anyway.

5y agoHN ↗

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 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-dl
5y agoHN ↗

What I haven’t seen pointed out is that this is really Githubs problem. They shouldn’t automatically respond to DCMA. The process should really be passed on to the owner of the repo and make them liable. Basically, defaulting to rolling over to DMCA requests had led to an environment where there’s no way to fight them. Even if I hosted something like YouTube-dl myself, my internet provider could cut me off.

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

5y agoHN ↗

Basically, defaulting to rolling over to DMCA requests had led to an environment where there’s no way to fight them

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).

5y agoHN ↗

Github and YouTube and most other places immediately take down content. It’s also extremely difficult to reinstate content, if possible at all.

5y agoHN ↗

The use youtubeDL for music would probably fit the fair use in Finland. The fair use allows personal copies of legally licensed material but not redistribution of said copies to third parties. It has been used to defend a service where ISP records the specific shows from TV like a VCR and streams them to customers at different time. The ISP:s and representation of copyright holders made a compromise to avoid legal battle, where ISP:s limited the storage duration of said recordings to two years. ISP:s still had service they could sell, and avoid unnecessary legal battle. I'm not a lawyer. So not expert on matter, but just educated local.

5y agoHN ↗

Test cases using copyrighted works probably not a good idea... Since one could argue that part of the code is run frequently.

5y agoHN ↗

In Russia they've banned whole github multiple times and have their own "RIAA" that helped to create the firewall.

5y agoHN ↗

Not looking for Github specifically, but a Github-equivalent where the entire contents of the repo could be pushed to for continued development.

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.

5y agoHN ↗

How can a program be in violation of DMCA? 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? How ridiculous.

5y agoHN ↗

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?

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.

5y agoHN ↗

In New York, you need to be over 18 to buy Sharpies and spray paint.

5y agoHN ↗

Guns are not banned in any country. They are restricted in almost every country, for good reasons. The level of restriction may vary based on culture, history etc.

Also people who claim the same logic applies to kitchen knife and guns are mentally still living in the wild west of the 1800s.

5y agoHN ↗

Countries where guns are "banned" only include a handful of outliers. I think only Eritrea has a blanket ban on gun possession by civilians. "Applicants for a gun owner’s licence in Laos are required to establish a genuine reason to possess a firearm, for example hunting" (https://www.gunpolicy.org/firearms/region/laos).

5y agoHN ↗

AFAIK guns were banned by the Tokugawa Shogunate during the Sakoku period till the Meiji revolution & gun ownership is still very limited in Japan even today.

5y agoHN ↗

Oh I love the specifics of that page. Did a lot of people try to walk around with kusari-gamas?

5y agoHN ↗

But it's just a totally normal agricultural tool! Totally not intended for ambushing Shogunate patrols in the night!

5y agoHN ↗

It’s illegal to [...] carry a knife in public without good reason, unless it has a folding blade with a cutting edge 3 inches long or less

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.

5y agoHN ↗

Does your Swiss Army Knife not fold? Is the blade on it over 3 inches long?

Unless I'm mistaken it looks to me like that law was written almost specifically so that Swiss Army knives in particular are considered an exception to the rule.

5y agoHN ↗

Not the person you are replying to, but from memory/estimation the leatherman I own has a blade longer than 3 inches.

5y agoHN ↗

My particular knife is also longer than 3 inches, but it's a larger model and I think you would be correct to point out that most Swiss Army knives are shorter.

5y agoHN ↗

It seems really dystopian to me that in the UK, I could get 4 years in prison for that.

You couldn't.

That sentence is the maximum possible available for a particular type of offence.

https://www.sentencingcouncil.org.uk/offences/magistrates-co...

You'd need to combine location (possession at school, or in prison, or at a place where there is serious public disorder) or effect caused (causes serious alarm or distress), and also intent (crime based on hostility to religion, race, disability, sexual orientation or transgender identity of the victim), or the blade would need to be a "highly dangerous weapon" (ie, not a swiss army knife).

Carrying a swiss army knife, and not having a good reason to do so, would be culpability D and harm 2, and so the sentence at mags would be a band C fine (about 1 week of your pay) or a medium level community order.

5y agoHN ↗

The primary intended purpose of a gun is to wound or kill humans or animals. You _can_ kill people with a kitchen knife, just like you can with a beer bottle or with your hands. Not exactly the same thing tho, is it?

5y agoHN ↗

Switchblades are illegal in many places (all of Canada for example).

5y agoHN ↗

They're probably claiming it's a circumvention device.

Some knives (switchblades and gravity knives especially) are illegal in most places. I think the UK is even stricter.

5y agoHN ↗

Some knives (switchblades and gravity knives especially) are illegal in most places.

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.

5y agoHN ↗

This isn't a new debate; in the early days of the DMCA, it was used to go after the author of DeCSS [0], despite the fact that legitimate Fair Use cases for the tool exist (personal backups, playback on unsupported devices at the time, like Linux PCs). The case was in fact stronger there, as DeCSS explicitly circumvented encryption [1], which AFAIK youtube-dl does not.

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...

[2] https://en.wikipedia.org/wiki/Napster#Shutdown

5y agoHN ↗

From the youtube-dl source code, in a file helpfully called youtube.py:

    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.

5y agoHN ↗

Could you make the argument that the technological measures are not effective and therefore not "effective technological measures" since youtube-dl is able to access the recordings in spite of them?

5y agoHN ↗

I anal, but from what I've read DMCA anti-circumvention of access controls applies even if it's the string backwards or ROT13'd, because intent.

5y agoHN ↗

You could make the argument that the technological measures are not effective (the RIAA says this was rejected by a court in Hamburg), but not in that extreme form. If the existence of a working circumvention tool implied that the technical measures were not “effective,” then all circumvention tools would be legal and the law would have no effect. “Effective” must mean something more than “so ineffective that it can be circumvented with common sense,” and something less than “so effective that there’s no need to make its circumvention illegal.”

5y agoHN ↗

In many jurisdictions knives of certain length or design are illegal. To posess to manufacture. In short to exist.

Many many other tools are deemed iheirently illegal. Guns, explosives, motorcycles over certain CC, encryption software, etc.

5y agoHN ↗

How can a program be in violation of DMCA?

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.

5y agoHN ↗

I don't get why you where downvoted. the analogy is pretty accurate. knifes are utilities which can be used to kill. guns are made for killing only.

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.

5y agoHN ↗

knifes are utilities which can be used to kill. guns are made for killing only.

What is a bowling ball made for? What are bows and arrows made for?

5y agoHN ↗

I’ll admit that I’m ignorant of US law specifics here, and I’m not sure about YouTube’s DRM and/or policy regarding downloading videos is.

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?

5y agoHN ↗

I wonder why they don't go after Chrome and Firefox as well.

5y agoHN ↗

The RIAA's logic is that a youtube-dl user is equivalent to someone in a movie theater with a video camera. The situation they're concerned about is somebody downloading a music video that they've authorized to be on Youtube. They make money on Youtube views, but they're losing precious fractions of a cent when you download it and watch it offline.

This is obviously not ethically justified, but I have no idea if it's legally justified.

5y agoHN ↗

The problem with their argument is that youtube-dl is a video camera. The US has already rules that video cameras, VCRs, DVD recorders, etc are all devices with legitimate uses, and you can't stop them from being made or sold. A movie theater is within its rights to ask patrons using video cameras to leave, and Google would be within its rights to lock down Youtube.

The RIAA is fishing, and all the precedents are against them pulling up even a minnow.

5y agoHN ↗

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.

5y agoHN ↗

Even further, they are saying that the primary use of youtube-dl is reproduction and distribution. Distribution is the actual illegal act.

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.

5y agoHN ↗

As long as the source code in the repo itself does not infringe on their copyrights, this seems like a plainly frivolous lawsuit.

5y agoHN ↗

They should have counter claimed this nonsense instead of taking down the repo. RIAA is an abusive troll.

5y agoHN ↗

> RIAA is an abusive troll

That is one of nicer things that one say about the Recording Industry Association of America.

5y agoHN ↗

Github is obligated to take down the "offending" content as soon as they receive a DMCA notice. It's then on the owner of that content to file a counter claim to restore it.

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.

5y agoHN ↗

Has anyone tried sending automated DMCA for the entirety of Github? Once half of github is under bogus DMCA, maybe that'll make them think for a minute.

I'm halfway serious.

5y agoHN ↗

You as a random person would be committing what's essentially (or actually?) perjury and I'd expect you'd either be ignored or prosecuted. Big companies seem to get freebies on this, doubt you would.

5y agoHN ↗

Github is obligated to take down the "offending" content as soon as they receive a DMCA notice.

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.

5y agoHN ↗

No, they aren't obligated to do anything.

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.

5y agoHN ↗

Because github absolutely would not be able to exist if it lost its safe harbor protections.

It wouldn't lose them generally, just with regard to the act of hosting that specific item. Without commenting on the particular case, if the claimed theory of infringement was patently frivolous on its face, even if the notice was formally valid under the DMCA, it would be reasonable for a provider to ignore the notice because they had insufficient risk of liability to concern themselves with.

(This is conversely why providers tend to be less good at responding to counter-notices, again, the only hammer is liability shield, but this is for any liability they would have to the person whose content was taken down for taking it down. As this is usually none to start with, they are quite free to be cavalier with counter-notice process.)

5y agoHN ↗

In a 512 case, yes. The safe-harbour provisions don't apply to 1201.

5y agoHN ↗

This is part of the DMCA process. Github takes it down until they get a counter-claim from the repo owner, don't think they really have much of a choice in it, legally.

5y agoHN ↗

Yeah, this process is messed up. It gives preference to abusers, instead of making them prove things to take something down.

5y agoHN ↗

It is messed up in practice, yeah. The counter to that is supposed to be that if you submit totally bogus claims you can be prosecuted for an actual crime, but as far as I know that never happens, at least for the big players.

5y agoHN ↗

This is part of the DMCA process. Github takes it down until they get a counter-claim from the repo owner, don't think they really have much of a choice in it, legally.

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.

5y agoHN ↗

It sounds like the RIAA is comfortable filing DMCA takedowns when the logic is questionable.

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?

5y agoHN ↗

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

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

5y agoHN ↗

If I remember correctly, PopcornTime's screenshots and examples were all carefully selected to contain only public domain movies for this reason.

5y agoHN ↗

Copyrighted content with a notoriously litigious industry group behind it, no less.

5y agoHN ↗

So, someone could fork it, change the readme and other files to remove all references to copyrighted content. No problem?

5y agoHN ↗

Does anyone have a local copy of the repo? I’m curious when that particular mention was merged into the repo.

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.

5y agoHN ↗

The videos mentioned in the takedown notice are part of the test suite and not part of the README. Definitely not made by a RIAA member.

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.

5y agoHN ↗

Yeah, an example downloading a video of Elephant's Dream or a tech conference talk would have worked just as well and imply the tool has primarily legitimate uses

5y agoHN ↗

It wasn't in the repo's README: it was part of the test suite for better or worse.

See: youtube_dl/extractor/youtube.py line L557

5y agoHN ↗

I doubt there's any "for better" in that. It's an easy bit for the RIAA to latch onto to make their case, and I expect a judge or reasonable person on a jury would make make a distinction between the two, but not enough to matter.

5y agoHN ↗

When the RIAA sued me for operating Aurous a few years ago they nailed me for exactly this. Using copyrighted album art and song names to advertise my FOSS meant to stream music from sources like YouTube didn't exactly win me any points in court.

5y agoHN ↗

Did they win the rights to the source code?

5y agoHN ↗

Are the case's files on Recap and are you willing to share the name/results of the case?

Edit: I've googled and found relevant articles. I didn't realize how high profile this was.

5y agoHN ↗

Github has received a takedown request for the youtube-dl repo and forks, not youtube-dl itself, correct?

5y agoHN ↗

They've learned absolutely nothing from two decades of failed wars vs torrenting.

5y agoHN ↗

But it can also be sued for downloading uncopyrighted material. It's like submitting DCMA for Office Word because people can use it for creating pirate copies of Harry Potter.

5y agoHN ↗

To be fair, more like "Harry Potter Copier Word".

5y agoHN ↗

To be fair, more like Microsoft® Office® OneNote™; it has a camera feature and an automatic OCR feature and a “copy text from image” convenience feature.

5y agoHN ↗

Also, using copying an entire Harry Potter book as the basic tutorial.

5y agoHN ↗

If also connected to the db for all fiction ebooks on Amazon.

5y agoHN ↗

It's not because Word doesn't:

1. Advertise that it is intended to aid in copyright infringement

2. Include some tools to circumvent DRM used in harry potter e-books.

5y agoHN ↗

Oh yeah, this paragraph:

"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.

5y agoHN ↗

The test suite uses YT URLs to copyrighted works to ensure it can download properly and that the metadata is accurate.

Not quite the same as using downloading a copyrighted work as an example in the README, but still a very poor choice.

5y agoHN ↗

It's outrageous indeed that GH/MS is complying.

It's not that far from targeting wget or curl, were it not for the widespread use of them in industry.

5y agoHN ↗

It's outrageous indeed that GH/MS is complying.

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.

5y agoHN ↗

IANAL, but as far as I know GitHub has to comply with DMCA requests. Otherwise, they would lose their safe harbor protection and become liable for all distributions of copyrighted content through their service.

However, GitHub is also required to reinstate `youtube-dl` if the creator files a DMCA counter-notice.

5y agoHN ↗

This is not a valid DMCA takedown request, as the claimant has not asserted copyright ownership of anything in the repository.

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.

5y agoHN ↗

This is a good point, but I think ultimately Github has to comply with it to maintain their legal immunity, it's not their responsibility to determine if a copyright claim is valid.

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.

5y agoHN ↗

That's exactly how it works. The content carrier is on the hook to be responsive to DMCA takedown requests, and they are ~allowed~ (actually, also required) to be responsive to counter-notices as you describe.

Their responsibility begins with removing the hosted data in question, where a valid DMCA notice is issued (and there is no incentive for them to make a judgement about whether the notice is valid or not.) If the authors of youtube-dl want to file a counter claim, that is their right, (which would put GitHub within their rights to restore the content too.)

https://www.dmlp.org/legal-guide/responding-dmca-takedown-no...

All of these declarations are made under penalty of perjury, both claims and counter-claims:

The DMCA requires that you swear to the facts in your copyright complaint under penalty of perjury. It is a federal crime to intentionally lie in a sworn declaration. (See U.S. Code, Title 18, Section 1621.) Submitting false information could also result in civil liability—meaning you could incur a financial penalty.

The civil liability here is a liability to the party who was damaged, (the author or copyright holder), so even if GitHub wanted to assert by themselves that the DMCA takedown claim was invalid, they would not have standing to sue anyone about it. So pretending even if you did believe youtube-dl authors are in the right and that the courts would be inclined to rule in their favor, and you're Microsoft, you have to honor the DMCA request and take down the content in order for there to be justice, since there can be no party with standing unless there are actual damages. (IANAL, you probably already figured that out by now, and I have no idea what the legal definition of "actual damages" is, but I do know what standing is.)

Personally I agree that this does not represent a valid DMCA claim, but for GitHub to assert that and ignore the claim based on the way these laws are written, and those safe-harbor laws as well, I think any lawyer would say this is not possible.

5y agoHN ↗

DMCA takedown claim was invalid, they would not have standing to sue anyone about

If this exact same logic were extended to YouTube: an invalid DMCA claim will absolutely reduce YouTube ad revenue causing measurable financial damage.

Besides arguing: "they should have known it was invalid and refused to comply," how exactly would this not grant standing?

5y agoHN ↗

That may be true, but this is not a claim on YouTube, (or the case of many frivolous claims made by these same RIAA folks on YouTube, that I know we're both thinking about.) There is no advertising sold on GitHub that I am aware of, and unless the youtube-dl authors are paying subscribers, I'm not sure how there could be any monetary damages to GitHub or Microsoft.

5y agoHN ↗

If the notice had claimed copyright ownership of youtube-dl, then Github would have to act on it even though it was incorrect. But since it's not an actual well formed takedown notice, legally Github does not have to do anything with it - just as if it were missing contact information or were not signed. Unfortunately there is little downside for Github to act on it regardless.

5y agoHN ↗

They don't need immunity for an invalid takedown!

To the extent that their core responsibility is hosting code, it is their responsibility to determine if some claims are valid.

5y agoHN ↗

That logic is all fine and well, but that requires GitHub to determine if a takedown is valid or not. And if they determine incorrectly in a case, they’re open to damages in that case.

So, is it worth it? Or is it worth just letting the parties figure it out?

If the DMCA is truly invalid, a counter-claim can be filed. If the other party doesn’t want to file one, I guess GitHub wonders why it should keep the content up when the creator doesn’t have faith in it.

Obviously I note the possible flaw in the above logic, in that there’s a difference between an individual developer deciding it’s worth starting a legal faff with a big company by filing a counter-claim, verses GitHub doing it, but their service would go broke dealing with legal requests otherwise.

Correct way to deal with this is through your lawmakers, not saying Microsoft should foot the bill for a broken law.

5y agoHN ↗

It seems like the right process is to mosey on over to gitlab. If gitlab properly defends the developer, that will continue the gradual github exodus to more open platforms.

5y agoHN ↗

It's not a DMCA Takedown Request. It's just a letter. Making a request to take a repo down. Anyone can write a letter.

5y agoHN ↗

“For all distributions of copyrighted content through their service”

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.

5y agoHN ↗

I wasn't 100% sure, and the Wikipedia page doesn't specify. Thanks for the clarification.

5y agoHN ↗

While the takedown request is outrageous, I'd probably respond the same in MS's shoes. Frankly defending it is not worth the corporate lawyering required from MS's perspective.

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.

5y agoHN ↗

It's outrageous indeed that GH/MS is complying.

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.

5y agoHN ↗

which has the main purpose of downloading clean copies of YT videos

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.

5y agoHN ↗

Curious if anyone with legal expertise knows if this has legs? They say:

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....

5y agoHN ↗

The entire IP concept is really hard to make sense of with the web: a browser works by making a local copy of a remote resource and then making that local copy available to the user. I don’t see why, from the server’s perspective, the precise client matters: if I use curl + pandoc to read your webpage, is that really meaningfully different from using Firefox or Chrome?

5y agoHN ↗

is that really meaningfully different from using Firefox or Chrome?

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.

5y agoHN ↗

Using wget is enough to get you thrown in federal prison for accessing public web resources.

Example?

5y agoHN ↗

Nitpick, on page three of the document you posted it states that his script used curl and not wget

5y agoHN ↗

I was interpolating, the article implies wget but I didn’t mean to imply I had verified that or anything. I’ll admit I did make a stronger statement than intended and was relying on third party interpretations of the code. Thanks for the clarification!

I think weev may have used wget in his AT&T work where he discovered links or interactions between customer data and iOS in an AT&T subsite?

http://madisonian.net/2013/04/09/academics-go-to-jail-cfaa-e...

5y agoHN ↗

Nope, you needed to be on the MIT network. He argued that they should be public, which is very much NOT the same thing as actually being public in the eyes of the law.

5y agoHN ↗

So, had he opened a browser and used the javascript console to download everything instead, he would have gotten off scot free?

5y agoHN ↗

What's a javascript console? Sounds like a hacker tool, off to prison with him.

5y agoHN ↗

The crime was not that he used wget, it’s that after he was banned from the service he used a server closet he was not permitted to access to continue downloading. Still bullshit but it’s not even close to wgetting a public resource

5y agoHN ↗

Isn’t MIT a public university?

Edit: no, it’s a private land grant university. What kind of socialism is this, anyway? How is this structure even valid, if not for historical precedent?

Nothing against socialism or even my point, really. Just very odd to see how blatantly discriminatory and contradictory this seems to have a private university performing a necessary public service, with free land from the state. Not that the work isn’t well done, or anything. Just bears strict scrutiny.

5y agoHN ↗

If I go to a public park and bust open the lock on the utilities shed and mess with the tools, it’s still a crime.

5y agoHN ↗

I feel like if they'd been more patient, they might have addressed the similarity to the "analog hole."

5y agoHN ↗

Also, does the fact that YouTube doesn't supply a download feature constitute a "technical protection measure"?

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.

5y agoHN ↗

Youtube does have a "download" feature in YouTube studio. Where you can download a heavily compressed version of any video you've uploaded. But only videos you've uploaded.

5y agoHN ↗

IANAL IANAT yet the video I am watching isn't being stored in my browser?

5y agoHN ↗

The data obviously must make it to your computer. A distinction that can be made is whether it is possible/easy to use it separately, outside of YouTube.

5y agoHN ↗

They come as regular media files, the chunking would cause issues for most people but it's easy to view. I don't think difficulty is what is important though, what matters is if they were to need some kind of decrypter from the copyright holder.

5y agoHN ↗

Also, does the fact that YouTube doesn't supply a download feature constitute a "technical protection measure"?

Yes, they have some sort of DRM, albeit a very weak one.

5y agoHN ↗

Hmm, so maybe it's legally enough if YouTube does have a protection mechanism and the material is copyrighted, even if the protection mechanism isn't necessarily intended to protect copyright?

5y agoHN ↗

Last I checked normal youtube videos are just a MPEG-DASH/HLS stream, with no DRM.

What youtube-dl essentially does is reading the playlist and concatenating chunks together, there is no DRM circumvention here.

5y agoHN ↗

Sure, but the URL that needs to be requested is encrypted even if the stream itself is not.

5y agoHN ↗

The embeded js that YouTube provides gives your browser the link in clear.

5y agoHN ↗

It's no more encrypted than any other https resource. What is the argument you are trying to make?

5y agoHN ↗

My argument is that the URL address for the HLS stream you access is not in clear text in the html code youtube sends you. Javascript code is executed to decode it (which changes constantly, hence the need for youtube-dl to be updated constantly) and that is a form of DRM which youtube-dl breaks.

5y agoHN ↗

There is a "Download" button in the mobile Youtube apps (if you're paying for Youtube Premium).

5y agoHN ↗

Except it doesn't give you the actual file, it's still only playable offline through the app (unless you have root I guess).

5y agoHN ↗

I have YT premium and an android phone so I checked this out. It looks like they don't store a single mp4 or anything and instead store it in chunks. I am not sure though if they are actually encrypted and stored using some sort of copy protection or if you could assemble the pieces into a single video using some algorithm without a special key.

5y agoHN ↗

I would guess it’s similar to the chunking they do when streaming in the first place. Assembling the pieces is one of the main functions of youtube-dl.

5y agoHN ↗

You are able to download YouTube videos on your phone, if you subscribe to YouTube premium. I haven’t made any deep investigation of this but I kinda assume the videos are protected by DRM.

5y agoHN ↗

Also, does the fact that YouTube doesn't supply a download feature constitute a "technical protection measure"?

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.

5y agoHN ↗

I mean it has to be that way because it would be silly to lose copyright protection just because you have crappy security.

5y agoHN ↗

Whoa there. The DMCA is not “copyright protection”. The DMCA is a bunch of additional obnoxious protections on top of copyright.

5y agoHN ↗

That is not the argument, though. Your copyright is protected regardless of the strength of your security measures. But it is also, separately, illegal to circumvent these measures. This latter prohibition becomes more far-reaching and has more collateral damage the weaker the security measures it applies to, which is worrying.

Outlawing the methods of committing a crime also (instead of just the crime) requires a balancing act between their legitimate and illegitimate uses, which seems precariously absent when talking about technically laughable “security measures” that can be circumvented by pressing F12.

5y agoHN ↗

But the trick is to put a crap lock around both something that can be copyrighted but is unimportant and things that cannot be copyrighted.

Now all legal uses of everything behind that lock are illegal for circumvention reasons.

It's a way to apply the DMCA to literally anything digital. The quality of the software doesn't matter, because it isn't for security, just a legal hack.

5y agoHN ↗

The fact that youtube wants people to come back to the site and use servers, miles of wires, electricity, network machinery instead of letting them download videos so they can watch them from thumbdrive just says to me this company is unethical and harms environment. Any business model that forces people to be on the network without any reason other than greed, should be illegal. If you can stream the file, download option should be mandatory by law.

5y agoHN ↗

People forget that Youtube is a _business_. The reason they maintain all of those servers and network machinery is to serve ads, otherwise why would they provide that service for free?

5y agoHN ↗

No. But they shouldn't harm environment. If business is harmful then should be illegal.

5y agoHN ↗

Well that's a pretty simplistic view.

5y agoHN ↗

That doesn't mean there isn't some truth to it. ;)

5y agoHN ↗

How is it possible to legislate electricity caps on google, according to some imagined threshold of "harm to environment"? Sounds like the number of lawyers involved would be the real harm in this scenario.

5y agoHN ↗

Company will have to justify what is their business need for particular use of electricity.

5y agoHN ↗

Once you download a video, you don't need their service anymore to watch it again. But they want you to remain dependent on them.

5y agoHN ↗

All businesses run on financial incentives (or what you call 'greed'). How is it possible that profit motive and associated laws that facilitate buying/selling be written off as unethical?

5y agoHN ↗

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.

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.

5y agoHN ↗

This is true and still applies in the case where you pay for YouTube Premium. Even if you use YouTube Premium you are also helping pay the content creators [1]

# 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

5y agoHN ↗

As mentioned in the notice, the RIAA is specifically claiming youtube-dl's deobfuscation of youtube's request signatures is what's infringing, which a german court ruled to be an effective technological protection measure.

5y agoHN ↗

I seriously doubt they read the source code.

5y agoHN ↗

Also, does the fact that YouTube doesn't supply a download feature constitute a "technical protection measure"?

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.

5y agoHN ↗

The decisions of a German court would have no impact on a US court.

5y agoHN ↗

Also, does the fact that YouTube doesn't supply a download feature constitute a "technical protection measure"?

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.

5y agoHN ↗

a stream the user can view anyways

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.

5y agoHN ↗

This needs free legal assistance from EFF and needs to go to court if RIAA is actually ready to litigate this

5y agoHN ↗

I don't think Microsoft needs the EFFs help.

5y agoHN ↗

Youtube-dl is not a Microsoft's project. If they send a counter-notice to GitHub (they should), per DMCA Youtube-dl is exposed for liability when GitHub restores the repository (but GitHub is shielded from liability after they restore)

5y agoHN ↗

ok so I might just be stupid but how does that link let me clone the repo?.....

5y agoHN ↗

Wow I didn't think they'd host ZIP files of every commit of every repo.

Where the hell do they have that much hard disk space, and who is funding them?

5y agoHN ↗

The copyright trolls are encircling Archive.org ever since they briefly offered the National Emergency Library. They need all the good vibes we can send them, please donate!

5y agoHN ↗

In a large datacenter. People like you and me, some institutional grants here and there...

5y agoHN ↗

Internet Archive seems to be heavily promoting Protocol Labs tech and File Coin specifically on their Twitter feed. I have donated small sums and ran a couple fundraisers via Facebook which benefited Internet Archive. The promo for File Coin is new. They pitch it as building a decentralized AWS, which I'm not sure if File Coin gets you 100% of the way there, but it's a start?

5y agoHN ↗

I give them money every month because their archives are essential to preserving our history. Not to mention, they have really saved my bacon before when I really needed to read some technical blog published a decade ago that has since been lost due to the website being reorganized or even being completely taken down.

Even though it takes a lot of bandwidth, I think preserving the source code on GitHub is an invaluable service and hope they continue to do so. I didn't know they were saving the zip file of every release, but I can understand why. It gives you point in time snapshots more easily and who knows how easy it will be to use a git repo from today 100 years from now. ZIP is a much simpler format if it needs to be reimplemented and is used all over the place.

5y agoHN ↗

IPFS CID of that zip file: QmaCpz7YkLGaAQxa3kRHGQhhd23RQFHuKPzhHaa2pC3i53

5y agoHN ↗

You can use the download zip button instead of cloning.

5y agoHN ↗

I can still install it via pip:

    pip3 install --user --upgrade youtube-dl

So I guess they haven't issued a take down to PyPy yet.

5y agoHN ↗

*PyPi. PyPy is an alternate implementation of python.

5y agoHN ↗

youtube-dl is in every linux repo, so the source code is widely mirrored and is not going anywhere.

5y agoHN ↗

they need to move development elsewhere though

youtube-dl becomes obsolete very quickly as endpoints make changes on their settings and formats, notably youtube.com themselves

5y agoHN ↗

just throw it up on Gitee good luck ever getting through the Chinese court system on a copyright issue

5y agoHN ↗

wow this straight up sounds like the best solution by far since who knows if microsoft or google is willing to put up a fight

5y agoHN ↗

That is actually one of the best solutions

5y agoHN ↗

The gzipped tarball, was that as of latest commit? just curious if we can consider it the definitive final copy

5y agoHN ↗

Youtube-dlc has merged a lot of youtube-dl's outstanding PRs, i remember -dlc being 350 commits/7 behind -dl some 2 or 3 days ago. So definitely base the fork off *-dlc

5y agoHN ↗

Unfortunately, the claimed videos are in some tests in youtube_dl/extractor/youtube.py, e.g.

        # 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]',
            },
        },
5y agoHN ↗

There's also that copy in the Arctic. I don't think that Github will remove that one.

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.

5y agoHN ↗

I can still find youtube-dl on gitlab, so it's still out there.

5y agoHN ↗

That doesn't matter. As development stops, youtube-dl will stop being able to download videos in a matter of months (at best). This is an extremely brittle system that relies on youtube-dl being one step ahead of Youtube at all times. Without further development, the next update to Youtube's site will break the tool.

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).

5y agoHN ↗

While they may have made collaborative development more difficult for the moment, what hasn't changed is the strong motivation from a wide range of technical people to be able to download whatever they can watch in a browser. Something will rise from the ashes.

5y agoHN ↗

This will do nothing. The tool will instantly be hosted outside the US. Even if the developer is American it's just going to get instantly scooped by someone else.

5y agoHN ↗

This is the first time I've read a DMCA notice that also references EU Directives and German law too (admittedly it's a thin note saying it's materially equivalent to U.S.C.). Is that even meaningful in a DMCA takedown notice?

5y agoHN ↗

It is like your abusive partner brings up all the things they think you did wrong when they don't have any logical argument.

5y agoHN ↗

I believe the way you put it describes this part in the DMCA takedown notice the best way possible. Bringing up European laws on intellectual property and mixing it with US "copyright" is comical to me, especially after reading this [0] article on French law recently:

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...

5y agoHN ↗

Torrents are illegal

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.

5y agoHN ↗

Sorry for not being clear enough. It's not that torrents as protocol are illegal. So yes, it is totally legal to distribute any content you have rights to distribute, such as Linux distros, creative commons material, you name it.

It would also be legal for you to share a music file to, for instance, your friend who lost it's original copy but already paid for the song. You simply can't redistribute the song on massive scale to people who didn't buy it, so that's torrenting weakness here. Also, the personal connections between you and the downloading party matters in determining if this was fair/"personal use".

5y agoHN ↗

Then I wonder if level of security a given anti-circumvention technology implements matters in the EU.

See, I strongly believe (and heard of such cases in the past) that where I live, if I "hacked" into a computer system which had administrator password set as "admin123" and the owner sued me, he would be laughed at at the court and I was let free. And I believe in the US I would be convicted for computer crime.

Isn't it the same here? If Youtube's anti-circumvention tech whatever it is that DMCA compliant refers to is so weak that source code how to circumvent it is in the wild for years and Youtube does nothing to address it, isn't it theirs fault? :shrug:

We're both IANALs, but it is interesting to put it into perspective that the same sentences that makes laws mean something totally different in practice on two sides of the globe due to cultural differences and/or origins of given laws.

5y agoHN ↗

The youtube cipher has probably not been tested in US courts as an "effective measure" so they are demonstrating that other reasonable courts, interpreting a materially equivalent statute have agreed it was an effective measure.

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.

5y agoHN ↗

That's pretty stupid. You don't takedown technologies that could be used maliciously or we wouldn't have anything.

I'm worried about Newpipe now, it's been a life changer.

5y agoHN ↗

This is really dumb. By the logic of the letter all that needs to be done is change the README file.

5y agoHN ↗

How is this not perjury again? They need to be punished for this harshly.

5y agoHN ↗

What about this is perjury? The readme actually did encourage downloading copyrighted material...

5y agoHN ↗

Great! Then they should have sued the responsible party. Circumvention devices are not something the quintessential "DMCA takedown" process allows for or covers: these claims need to go to court where an injunction may be granted.

5y agoHN ↗

How is this perjury? No one's under oath.

5y agoHN ↗

DMCA takedowns are filed under penalty of 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."

5y agoHN ↗

I think you'd need to find evidence they intentionally launched this complaint with bad faith, which would require a discovery process.

5y agoHN ↗

Perjury may or may not be the right term here, but it's definitely bad faith. EU and German legal definitions hold no weight on a US law. The repo contains no copyrighted material.

5y agoHN ↗

More importantly: they are not the copyright owners of the content being removed.

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.

5y agoHN ↗

the DMCA makes false notices punishable by perjury iirc

5y agoHN ↗

YouTube-dl is a great tool that I've found use for a dozen times, and not once to download music or music videos. (Note that it works on sites beyond YouTube.) This takedown interferes with a number of legitimate uses that are completely independent of the RIAA's objectives.

5y agoHN ↗

Agreed. Once I discovered that "it also works outside of YouTube" when I want to archive something I'll just point it at a page and set it loose. It's also handy for archiving an entire podcast by feeding it only the RSS feed URL and turning it loose.

5y agoHN ↗

It’s also a valuable tool for making fair use of content from YouTube without further degrading quality with an additional re-encoding further ruining quality. Of course, little surprise the RIAA would ever admit these tools could be used for anything but piracy.

5y agoHN ↗

I think a rebrand would and a healthy amount of not-with-a-10-foot-pole-itis in their attitude towards any mention of youtube or music downloading would be helpful. Like a secret menu item at a resturaunt you could use <generic>-dl to download youtube videos, but don't specifically endorse it.

5y agoHN ↗

Isn't there a 1st-amendment exception for code? The code isn't violating any copyright.

5y agoHN ↗

I remember books (with the code inside) being used as a workaround for cryptography export controls.

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.

5y agoHN ↗

This is a very underrated workaround. I had no idea this was used.

5y agoHN ↗

In particular, the website has been taken down as well.

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!)

5y agoHN ↗

Funny this happens right as everyone is scrambling to save JRE episodes, before he goes to Spotify.

5y agoHN ↗

Hope this motivates a few more free software devs to move away to a free host, at least apart from GH mirrors for exposure.

IUUC importing this to GitLab would have taken ~½dozen clicks and saved the open issues, etc.?

5y agoHN ↗

GitLab also has to comply with DMCA complaints. A quick search brought up their procedure: https://about.gitlab.com/handbook/engineering/security/opera...

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.

5y agoHN ↗

But ~anyone can host it.

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.

5y agoHN ↗

In general, general purpose hosts are going to want you to fight your own legal battles.

5y agoHN ↗

I frequently use YouTube-dl, and have never once used it to download music videos and sound recordings owned by member companies of the RIAA.

5y agoHN ↗

Is there an alternative to github that is resistant to denial of service attacks^1 like this?

1: 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?

5y agoHN ↗

IANAL, but DMCA takedowns do not have "no repercussions" for false claims. 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]. This is different than YouTube copyright claims, which as far as I'm aware don't actually have any repercussions for false claims unless YouTube decides to take action[2], since copyright claims on YouTube are not DMCA takedown requests.

[1] https://www.law.cornell.edu/uscode/text/17/512

[2] https://www.eff.org/deeplinks/2019/08/youtubes-new-lawsuit-s...

5y agoHN ↗

DMCA takedowns do not have "no repercussions" for false claims.

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.

5y agoHN ↗

While this is true, I was responding to a post about abusing DMCA takedowns, which have the assumption that they're using it to knowingly misrepresent infringement. And even though most abusive DMCA takedowns end up without any counter action, the law does provide a way to fight them, which is the disincentive from "simply send a takedown for anything they don't like no matter whether it is legal or not"

5y agoHN ↗

opening themselves up to damage liabilities

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.

5y agoHN ↗

Damages include legal fees in the case of DMCA.

5y agoHN ↗

I'm very scared by this. youtube-dl needs somewhat frequent updates as Google moves the youtube codebase around. I'm worried that the RIAA's next move, now that it's starting to get inconvenient to get youtube-dl, will be to make Youtube change in some way to make existing copies of youtube-dl no longer work.

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.

5y agoHN ↗

I'm actually curious, when you run "youtube-dl --update" where does it update from? What domain?

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.

5y agoHN ↗

  $ 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: 9115
5y agoHN ↗

Thank you!

Well 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.

5y agoHN ↗

What is `rg`? I like its output better than grep's.

5y agoHN ↗

ripgrep. It's a bit faster and automatically ignores files in .gitignore etc. Very handy.

5y agoHN ↗

Do you have some sort of RMS-style setup? If so, I'm curious about your reasons for that and why mainstream browsers aren't an option for you

5y agoHN ↗

Not OP, but I personally use youtube-dl to retrieve videos on a remote server accessed via ssh, which then get downloaded slowly over a low bandwidth link for offline viewing at a later time. They may or may not get reencoded using the ffmpeg integration before retrieving as well.

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.

5y agoHN ↗

YouTube's web interface is basically useless for me on a slow link

I've never used youtube-dl. How do you find the videos to download?

5y agoHN ↗

Youtube links are shared everywhere, including here on HN.

I also have a small collection of youtube channels bookmarked at their /videos URL, which at least doesn't try play any video and just gives a grid of thumbnails. Occasionally I'll visit those to discover new videos from the creators I'm interested in.

This already consumes more time watching youtube content than I care to admit.

5y agoHN ↗

You could look into newpipe, an alternate youtube player for Android. Or look at RSS feeds for the channels you want to follow.

5y agoHN ↗

Not the OP but I’m a heavy youtube-dl user. I live in a rural area where my only internet option is satellite (HughesNet) which is basically unusable for any kind of streaming media. I rent an office in town to do software work and use youtube-dl to download videos for later viewing at home.

5y agoHN ↗

This is similar to my use case as well. I just cannot watch a video from Youtube itself, the connection would be lost so many times it'd stop trying after 1% or less. The only solution is to painfully and slowly download it to my system, over time, and hope there aren't cases that destroy the 60% you downloaded over the last 2 days.

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.

5y agoHN ↗

Or you guys can just pay for a youtube premium subscription, which lets you download videos to view offline

5y agoHN ↗

Compared to youtube-dl and an offline media player like mpv, youtube's web interface is absolute garbage for consuming content. The only thing it's half-good for is discovery because it shows thumbnails of the videos and links to related videos.

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.

5y agoHN ↗

I'd like to add the one that bothers me most:

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.)

5y agoHN ↗

You have a point to some extent, it could be valuable to offer download buttons on a lot of videos. However, YouTube is only as valuable as the content it serves, and the content creators are the ones putting ads in their videos and who would be unhappy if there were download buttons on everything

5y agoHN ↗

I'm a content creator myself, and I'd rather my content be available 110% ad-free

5y agoHN ↗

When I had high packet loss wireless internet, downloading videos was effectively the only way to watch them. Browsers don't buffer a whole video worth.

5y agoHN ↗

On top of what others said, I also like youtube-dl + mpv because it consumes a fraction of the memory Firefox + one YT tab consumes. My main browser is Qutebrowser where I don't login to Google stuff, for which I use a Firefox profile. So when I'm watching something long like a lecture from any of my playlists, I download it first, quit Firefox, and watch with mpv. If I watch on FF on a large screen the computer starts swapping and I have to go kill some apps.

5y agoHN ↗

I think you have it backwards. Google is very much on the same side as RIAA in this case. Youtube-dl is simply too convenient for avoiding the ads.

5y agoHN ↗

Does your ad blocker not already remove the ads?

5y agoHN ↗

If google et al. could spin a legal case against adblockers, they would. The strategy here is just to use the legal bludgeon whenever it's possible.

5y agoHN ↗

uBlock Origin blocks youtube ads and is still on the chrome web store. Is it really that hard for google to take it down?

5y agoHN ↗

IMO there's a risk of upsetting the Chrome monopoly and driving users away if they do it in such a heavy handed way.

Also, they would either have to completely neuter their Extensions, or else constantly battle people submitting new adblockers in the same spirit as uBlock.

But if every browser slowly adopts Chromium engine (the worrying trend), then they can make a move against adblockers and competing browsers would have to scramble to remake a competing browser engine to do anything about it.

5y agoHN ↗

It won't be able to once Youtube embeds ads in the videos (which is step 2).

5y agoHN ↗

I dunno. Every Youtuber I know makes use of Youtube-dl (or related projects) extensively because many of them don't maintain archives of their own content and Youtube's built-in tools for downloading stuff back from them are terrible.

5y agoHN ↗

All the better for Youtube to control their content creators more.

5y agoHN ↗

You do subject request under GDPR and they have to give you all your data.

5y agoHN ↗

I doubt that includes every transcoded rendition of every one of your videos. And I don't think they probably store source videos in the original format in most cases? Hard to say for sure.

5y agoHN ↗

Youtube used to store original files without even checking that it was a video. This allowed some enterprising individuals to create a YouTube file system. I'm sure that has changed by now.

5y agoHN ↗

Under GDPR I believe they only have to give you "Personally Identifiable Information" (PII), aka "any piece of information that relates to an identifiable person".

It seems likely that some YouTube content does not fall under that category.

5y agoHN ↗

Comments like this in here seem out of place. We're a community of hackers. Just read the source and figure out how it downloads the videos. Next time YT changes something it'd probably be some query string in the url. It's not rocket science to download stuff from video sites.

5y agoHN ↗

Not only do you have to figure out the URLs from the source, but you have to assemble all the parts.

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.

5y agoHN ↗

To restore your ability to partake in culture, you can use JDownloader.

It is universal and can download from almost any media site.

5y agoHN ↗

Can it download from Youtube over the command line?

5y agoHN ↗

No, it's a GUI tool. Afaik you can also run it as a daemon with a web interface.

5y agoHN ↗

jdownloader.org or .com? The former throws a FILE_NOT_FOUND exception for the Windows version and can't access the SVN, the latter looks a bit sketchy and has no code available, not that it's a prerequisite, just figured HNers would offer up the open-source version first ;)

5y agoHN ↗

jdownloader.org

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

5y agoHN ↗

this seems outrageous the same way DMCA'ing a Bittorrent client would be

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.

5y agoHN ↗

cURL could be used to download pornography. Think of the children!

5y agoHN ↗

You could make a case that the primary purpose of the internet is to download porn.

5y agoHN ↗

"purpose"

this is the "inverse teleological fallacy", q.v.

5y agoHN ↗

In that case, let's see what we can do with a gun...

5y agoHN ↗

No wait lets go one more layer down. Lets attack the net and socket c/c++ libraries as they can also be used to download a little bit of pron.

5y agoHN ↗

And people could use human brains to store that information. We need read/write access to your mind just to be safe!

5y agoHN ↗

Why stop there? Telnet can be used. Or what about wireshark? Let's ban those too. While we're at it, C++ can be used and other programming languages as well. We could keep going.

This whole thing is silly.

5y agoHN ↗

If a kid can use curl, then they deserve the porn.

5y agoHN ↗

Not everyone considers porn a reward, and not everyone who’s curious about it is guaranteed not to regret it later.

5y agoHN ↗

Think of the children!

Suggesting people "think of the children" as they download porn is perhaps not the best advice.

5y agoHN ↗

Does cURL feature "here's how to download porn" anywhere in the code base or documentation?

5y agoHN ↗

I think the argument here is that explicitly, you can't with wget. youtube-dl specifically has circumventions for access controls for things like encrypted HLS, YouTube's ciphered player, etc.

5y agoHN ↗

It's kind of amazing that computing in general, and the internet in particular, is as open and free as it is (contrast with the closed end-to-end "appliance" model of gaming consoles, or to some extent iOS). Cory Doctorow has been ringing alarm bells for over a decade about both technical and legal efforts to end general purpose computation itself, or at least to make it more the exception than the norm:

https://www.youtube.com/watch?v=HUEvRyemKSg

https://en.wikisource.org/wiki/The_Coming_War_on_General_Com...

5y agoHN ↗

end general purpose computation itself, or at least to make it more the exception than the norm

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.

5y agoHN ↗

One thing that might be coming up is CPUs reducing the user capability to fully control the system (regardless of whether you run Linux or Windows).

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).

5y agoHN ↗

Licenses required for homebrew/legacy general purpose computers to join the network.

5y agoHN ↗

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...Windows, the popular workstation, is not that.

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.

5y agoHN ↗

That's great, I wasn't aware that mpv was portable to Windows. Writting the above I vaguely realised that the video player example didn't have many legs to stand on. I used it because, for me, the interoperability of mpv and ytdl is a poster child for taking content that's on a closed platform (Youtube) and lifting it out for high interoperability with the rest of the system.

It's a fair point that Windows doesn't put burden on applications to be less interoperable, but it doesn't facilitate it either. The UNIX philosophy has completely bypassed Windows. You can do things on its command-line, especially if you augment it in various ways, but do you ever feel like it's a first-class citizen on Windows, or its ecosystem? I'd argue there's reasons for why, as a rule of thumb, only the biggest FOSS projects are compatible with Windows.

5y agoHN ↗

DMCA is a bad law, but you'd have a harder time arguing a general purpose web browser meets any of the following conditions:

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.

5y agoHN ↗

You could probably scratch out A and B by emphasizing how useful youtube-dl is for grabbing local copies of MIT licensed university lectures.

C is harder, given the README.md examples.

5y agoHN ↗

But what DRM "technological measure" is being circumvented?

5y agoHN ↗

As I understand it, there are two definitions of technological measure in the DMCA. One is in the anti-circumvention portion, the other in the anti-cirvumvention-tool portion. In the latter case:

17 U.S.C. Sec. 1201 (b)(2) (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.

5y agoHN ↗

Can you argue that youtube-dl meets any of those conditions?

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.

5y agoHN ↗

YouTube videos don't have a right click option to download the video (a browser builtin) therefore there's a technical measure that controls the downloading of the video

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

5y agoHN ↗

Youtube-dl works with many more services than YouTube, FYI.

5y agoHN ↗

Youtube is literally in the name. This isn't a compelling argument.

5y agoHN ↗

Absence of button not a "technological measure". Otherwise any browser having "view source" is a copyright violation tool - no site has "view source" button, and site code is certainly copyrightable material, so any browser - and in fact any text-mode HTTP client - that allows to view source is a "circumvention" tool.

5y agoHN ↗

Absence of button not a "technological measure"

No, but the various technological measures that Google uses to make it difficult to download a user copy of the video file, to the point where the compilation and use of an external tool is the easiest option, definitely are.

Seriously, youtube makes it more of a pain in the ass to download a plain video file than basically any other site on the web. You can't just view-source and get it, and you can't even nab the file from the event timeline like you can most sites that obfuscate that.

Like it or not, youtube-dl is popular in part because it does circumvent a lot of measures that youtube intentionally puts in place.

5y agoHN ↗

This is correct; the most common commit to the youtube-dl repo is fixing the js decoding that YT changes regularly to prevent eaxctly this type of access.

Obfuscation is clearly an accepted technological approach to security and control, if not always a good or effective one.

5y agoHN ↗

but the various technological measures that Google uses to make it difficult to download a user copy

Which measures are those?

to the point where the compilation and use of an external tool is the easiest option

Browser is the easiest way to do HTTP too, but one probably shouldn't claim HTTP is a technical measure to prevent using the Web (though some may be tempted to say so after a long day of debugging... ;)

Like it or not, youtube-dl is popular in part because it does circumvent a lot of measures that youtube intentionally puts in place.

The only times I've used it was to download some lectures which were freely available to watch them over a long flight and a trip in places where network sucks. Surely, there are a lot of people who probably use it to download some RIAA-tainted crap, but it's not the only use, and the tool still would be useful if all RIAA stuff vanished from existence.

5y agoHN ↗

The browser saves the video in the cache on your HD automatically

5y agoHN ↗

There are a lot of arguments against this counter example, including the fact that the browser does not facilitate you getting access in any other way than originally intended (legal) and it honors the caching policy defined for the resource (technical)

5y agoHN ↗

I would counter argue that if you are able to use youtube-dl you can explore the cache

The opposite cannot be taken for granted

But usually someone with very little technical knowledge can find files on their hard disks

It requires more than that to be able to run youtube-dl from the shell

The technical argument is even weaker, there are dozens of browser extensions that inject a "download video" button in video on demand websites

Video downloader professional has over 230k users, it can't download YouTube videos anymore because Chrome blocked it, because Chrome and YouTube are Google's and they don't care if you download videos, they only care about their videos, that show their ads, that make their money

youtube-dl serves a niche, a tiny one

What RIAA is doing is scaring people off from even trying, because the truth is that the real money is on mobile where youtube-dl doesn't exists...

BTW youtube-dl is a f*ng good piece of software, it should be praised not blocked

Meanwhile people will keep using JDownloader

5y agoHN ↗

Is this still true with DASH because last I heard (which was admittedly ages ago) they break the video up into small chunks now

5y agoHN ↗

Browsers are not the only user agent out there, and that's not an active measure to prevent downloading, that's a decision not to implement a particular functionality.

There are also reasons that aren't infringing to grab your own uploaded YouTube content. Maybe you switched to another computer and left your portable drive at home. You have the right to access copies for personal use.

That they had the nerve to go for the tool is yet another extension of the war on first sale, and buyer freedom. Also, the people who made youtube-dl are not committing copyright infringement.

5y agoHN ↗

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

That's not how the law works. Legally correct is much less pedantic than technically correct. The difference is that legally correct often takes millions of dollars to ascertain.

I use youtube-dl all the time, and never illegally. Most of the content is CC-licensed educational content, and the major use is working in contexts without guaranteed bandwidth.

5y agoHN ↗

Legally correct isn't a more (or less) pedantic version of technically correct. Legally correct means primarily correct with respect to the colour[0] of a thing. Technical correctness disregards colour entirely.

Absence of "Download" button on a site, or in a context menu, is not technically a technical measure, particularly when you can press F12 and poke around the Network tab to get to the same resource, all entirely a browser built-in process. But it legally is a technical measure, because the little obstacle carries a colour of "intended to prevent downloads". That's usually enough.

--

[0] - See https://ansuz.sooke.bc.ca/entry/23 for detailed explanation of what "colour" is. In a rough tl;dr, colour as a concept is a blend of provenance and intent. Bits don't really have colour, but the chain of events that made particular bits be what they are does have it. Law is in a large part an exercise of dealing with colour, but the concept lies entirely outside of computer science, so it fundamentally can't enter it, and is thus usually ignored by the tech crowd. Colour is not data, and not metadata: it's the causal context.

5y agoHN ↗

Agreed and here the law actually defines this term:

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.

In the ordinary course of using YouTube you cannot save copyrighted videos. This isn't so much the RIAA overreaching as it is them taking full advantage of a bad law.

(Also, Google actually did go out of their way to make it hard to save the files. Go hit F12 yourself and try. There's a reason a whole project exists to make it easier.)

5y agoHN ↗

In the ordinary course of using YouTube you cannot save copyrighted videos.

On the contrary. Any ordinary use of YouTube (that is, using it to watch videos) necessarily involves making a local copy of the video. That's what you watch.

5y agoHN ↗

It doesn't matter. The bits arrive anyway. You don't get to run roughshod over what other people do with the bits you send them. End of story. If you didn't want me to have it, you probably shouldn't have pointed me at it, told me where to find it, and said go right on ahead. Don't mind if I do.

It's like someone getting angry at a kid or a tinker taking apart a gift. You gave it. It's mine. Thanks much, why are you so bent out of shape?

5y agoHN ↗

What about the words "with the authority of the copyright owner"? Nothing about doing it manually via Chrome's Network Tools or the Firefox or MS equivalent involves the authority of the video copyrightholder. So to me it doesn't seem within the legal definition.

5y agoHN ↗

Thanks for the response and interesting site to have a browse of rather than just dropping a "That's not how law works."! Pedantic was the wrong word to hinge my comment on.

5y agoHN ↗

That article the most enlightening things about law in general, and IP laws in particular, that I've ever read, so I'm always eager to remind HN about it :).

I've seen lots of words being wasted here and elsewhere in debates around piracy, copyright and patents, that essentially boil down to not understanding that, from the point of view of the law, bits have colour, and that colour is of paramount importance.

5y agoHN ↗

The referenced german court ruling, which is probably "Schutzgesetzverletzung: Umgehung von wirksamen technischen Maßnahmen auf Streaming-Portalen zum Schutz urheberrechtlich geschützter Musikwerke durch Konvertierungssoftware" found that the signature cipher used by YouTube counts an effective TPM. The code in youtube-dl that bypasses this is `YoutubeIE._decrypt_signature` in youtube.py

5y agoHN ↗

If there weren't any technological measures preventing you from downloading and saving YouTube videos, then youtube-dl wouldn't exist. You would just download the video from YouTube yourself.

5y agoHN ↗

"Preventing" is not the same as failing to enable. As far as I know, there's nothing that youtube has implemented that prevents downloading. It is simply inconvenient as a result of not being the primary goal.

5y agoHN ↗

There's an encrypted signature in the response from YouTube that youtube_dl decrypts in order to request the video content.

Perhaps it's not a super-sophisticated technical measure if youtube-dl was able to defeat it -- but it's a technical measure nonetheless.

5y agoHN ↗

Unfortunately the law defines access control VERY broadly. If they take any steps at all to make it difficult to download the source video then that is a technological measure to control access. There is no requirement that it be effective.

5y agoHN ↗

It's literally right there in the law that it needs to be effective.

5y agoHN ↗

Ah, sorry, that was a confusing choice of words. In the law they are using "effective" to mean "has the effect of" not "works well."

In any event the entire phrase "effectively controls access to a work" is defined in the law so what the words mean in english is irrelevant.

Here it means anything that "requires the application of information, or a process or a treatment, with the authority of the copyright owner, to gain access to the work." Which I think we can all agree is very broad.

5y agoHN ↗

Ah, but it isn't the copyright owner putting it in place. YouTube is. Therefore, it's just a protocol quirk of speaking YouTube.

You can say it's a selling point meant to entice ordered an the pot for rightsholders, but frankly, there is nothing but bandwidth consumption, storage, and processing limits that keeps anyone from just fuzzing the CDN namespace.

Stop thinking keys to locks. YouTube isn't there for that. I can pull off the equivalent of driving a fleet of minivans up and walking out with copies of the drives if no one else is eating up the bandwidth for long enough.

5y agoHN ↗

Unfortunately it's well established that accessing resources that, even if not protected what so ever, without permission is illegal. YT's policy T&S on how and when you can consume it satisfies this.

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"

5y agoHN ↗

I think youtube-dl failed 1201(a)(2)(C) and 1201(a)(2)(C) because of that README. Like I said, they should fix the README. However, I still consider it rotten that they would forcibly take down a project as big as youtube-dl because of something so innocuous.

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.

5y agoHN ↗

Lawyers are not engineers. Corporate lawyers are mercenary thugs with assistants, expensive suits, and very very very high daily rates.

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.

5y agoHN ↗

A huge percent of software engineers work on (directly or indirectly) advertising and spying on users. I wouldn't throw stones.

5y agoHN ↗

The RIAA had a hard time too until the EU wrote the shitty laws their entire argument is based on (though what relevance those have to the DMCA is anyone's guess).

5y agoHN ↗

Reading (A) and (B), I cannot help but notice that it doesn't matter whether the primary purpose of the circumvention is to infringe copyright. It is enough that the software/service is primarily about circumventing the "technological measure".

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).

5y agoHN ↗

Right, it gives creators freedom to build what they want. In this case, YouTube. The sword cuts both ways.

5y agoHN ↗

It does, "ordinary course of operation" means "the most obvious use" and they took the tool as circumventing, looking at the test cases that are intended to succeed in circumvention.

5y agoHN ↗

No, really, it doesn't. It just makes the RIAA's case that much easier, makes YouTube-DL look bad. (A) and (B) above however are broader than that.

It doesn't matter that the technological measure is primarily about restricting access to protected works. It only matters that it effectively does restrict that access.

It wouldn't even matter if Youtub-DL is only used to access public domain videos, because their primary mode of operation would still be to circumvent the technological measure (assuming that measure restrict access to all works, not just the protected ones).

A "new" tool branded as a way to download public domain videos hosted on various web sites such as YouTube, (let's call it "Public Domain Tubes Archiver"), would still infringe on (A) and (B) if downloading those public domain videos primarily involved going around a technological measure that happens to restrict access to (unrelated) protected works.

5y agoHN ↗

There's some definitions that are also relevant:

(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.

5y agoHN ↗

You're not even quoting the right section. Section 1201 is about circumvention tools, takedowns are Section 512.

5y agoHN ↗

This logic could have been used to outright ban dual cassette tape decks in the 80s.

Why not ban the pen, since it can be used to hand copy books. RIAA needs to stay in their lane.

5y agoHN ↗

Digital Audio Tape DAT -- they tried REALLY hard to keep this technology out of the US market. Eventually they got a the authorities to impose a surcharge per blank DAT tape for 'lost income'.

Writable CDs came soon after which was probably going to kill DAT market no matter what.

5y agoHN ↗

Trivia: SGI DAT drives will read and write audio DAT.

The CD drives offered "Save Track As" in the default OS.

5y agoHN ↗

Since the original version of DDS tape is basically just DAT tapes being used to store computer data, many of the commercially-available DDS drives could be re-flashed to allow them to read DAT as well. (Re-flashing was necessary to remove the software restriction that otherwise recognised DAT tapes and refused to read them).

I'm not going to post any links, but there's plenty of info online.

5y agoHN ↗

Indeed. Really, I was speaking to nice, open computers. Did what people expected out of the box.

5y agoHN ↗

Honestly we need to start hosting community repos outside of the United States.

5y agoHN ↗

You're right! Apparently you can download all of youtube just by going to youtube.com! Guess those guys will be next.

5y agoHN ↗

Or let's remove knives from all together from this world because someone is using the to kill other people.

5y agoHN ↗

If you sell a "murderizer 3000" and explain in the owner's manual how to inflict a fatal wound and maybe also not leave any evidence behind it doesn't take a genius to argue you're selling a murder weapon, to murderers.

5y agoHN ↗

Have you seen gun ads? Firearm manufacturers basically do market their products as murder weapons.

5y agoHN ↗

Right, that's my point. You can't make a tool called Youtube-dl with source controlled test cases that download copywritten material from Youtube and then claim it's not for downloading copywritten material from Youtube.

5y agoHN ↗

Firefox isn't advertised as a tool to download content illegally nor does it feature doing so in any documentation or code AFAIK.

The chosen example gave RIAA the ammo it needed to attack this tool.

5y agoHN ↗

Lol that’s awesome. Law is complicated.

5y agoHN ↗

Even if we restrict the target set to "tools with a high likelyhood of being used for an illegal purpose" which I believe youtube-dl belongs in, when is the RIAA going after "guns"?

5y agoHN ↗

Many (thousands, if not tens of thousands) YouTube videos are being deleted right now, crazy censorship taking place. If tools like those get banned then it gets harder to keep copies of videos before they will be banned from YouTube.

5y agoHN ↗

That’s what we get for unrestricted proliferation of a platform offered by a big company. Is it even surprising anymore? Just saddens me but we can’t do anything.

5y agoHN ↗

I'm not sure with the RIAA hopes to accomplish here.

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?

5y agoHN ↗

I am not buying this.

Does this mean bittorrent client can be taken down as well?

Who is drawing the line here?

5y agoHN ↗

Copyright lobby has been pushing the line tighter every year, every decade.

5y agoHN ↗

IMHO the biggest problem here is the US government is policing the world with DMCA: you have to comply even you are not with physical US jurisdiction. Like the world's biggest cyber-troll, just dressed in business suits.

5y agoHN ↗

It's much dumber even than. A youtube web page contains everything necessary to view a youtube video. The concrete action the RIAA is accusing youtube-dl of is that it "circumvents YouTube’s rolling cipher". The RIAA has used this same complaint to have other sites/tools taken down. I've looked into the youtube-dl implementation, and it turns out the Youtube's "rolling cipher" is at most merely rearranging the characters of the CDN url of the video, and they send you JS code in the page to correctly arrange the characters of the URL so you can download it. Youtube-dl is using the Google-supplied JS and a JS interpreter to transform the Google supplied URL into the URL they need to download the videos. Youtube is asking Google what to do, and Google is saying "here's how you download the video".

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

5y agoHN ↗

I'm surprised they haven't gone after browsers. They would surely have asked Google to display certain messages when a user visits known piracy sites

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.

5y agoHN ↗

Don't they ? It might not be really obvious, but take a Walled garden platform like iOS for example. Already third party developers can't build their own browsers and all are efectively a skin over the Safari web engine.

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!

5y agoHN ↗

Things like this make no sense from the notice:

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.

5y agoHN ↗

What about your brain when you remembered the copyrighted song that you listened to on YouTube and then you just listen to it in your head instead of playing a video? It's just ridiculous. These greedy organisations should be made illegal.

5y agoHN ↗

It's not because OBS does not contain any code specific to circumventing streaming services protection measures. youtube-dl does contain code specific to such circumvention.

5y agoHN ↗

There's no statute and zero precedent in case law in the aforementioned venue that comes to this conclusion.

5y agoHN ↗

Here's a quote from the relevant statute: "primarily designed or produced for the purpose of circumventing a technological measure"

OBS very clearly isn't. youtube-dl arguably is.

5y agoHN ↗

It makes perfect sense to the people who design these twisted legal machinations.

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.

5y agoHN ↗

Yep.

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.

5y agoHN ↗

In that analogy, the RIAA is saying “hunting knives are illegal, because they’re primarily designed or marketed for hunting, which is illegal” and you are saying “that’s unfair because I use my hunting knife to cut pizza.” The analogy breaks down because hunting knives aren’t illegal, but copyright circumvention devices are.

5y agoHN ↗

The end result provided by both tools is what's illegal in both cases. Recording copyrighted material and murder.

In my analogy the RIAA is saying a specialized tool for recording copyrighted material (youtube-dl) is illegal but since they didn't file a DMCA request for non-specialized tools that record copyrighted material (OBS and the like) then they must be ok with allowing copyrighted recordings from those tools.

Thus the RIAA thinks specialized tools for murder (hunting knife) are illegal but generic tools not designed for murder (pizza cutter) are fine to kill someone.

5y agoHN ↗

You seem to be reading “the purpose of this source code is to circumvent technological protection measures” as though it means “this source code can be used to circumvent technological protection measures.” There is a difference.

5y agoHN ↗

They would have to prove that Youtube's lack of a download feature is a "technological protection measure" against copyright infringement.

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.

5y agoHN ↗

For me, that gives "3,676 repository results" with the standard GitHub UI for drilling into them.

Is it different for you?

5y agoHN ↗

They seem to have fixed it.

Searching for 'youtube-dl' didnt give any results 10 hours ago. But searching for 'youtube-d' showed many.

5y agoHN ↗

As affected repository or sender of a complain?

5y agoHN ↗

As a good internet citizen I have only one question: Where can I find a mirror to fork to preserve this piece of software?

5y agoHN ↗

While its good to get a backup of the source code, youtube-dl is one of those projects that quickly becomes useless as Google mixes stuff around within YouTube, which they like to do. Without an active developer base, the project will quickly become less and less effective, which is one of the big concerns IMO about this lawsuit.

5y agoHN ↗

What if collaboration on opensource projects (i.e. hosting, issues and their comments) was decentralized instead of relying on a central entity like Github? That would keep the developer base active and make DMCA takedowns ineffective.

5y agoHN ↗

In light of this DMCA, this seems like a site that needs to exist...but I don't know of one? Seems like as trivial a build as anything cryptographic actually

5y agoHN ↗

Yes, we do need this. I feel that the first step would be to move ytdl to a self hosted repository. But even this has the potential for takedowns.

5y agoHN ↗

If we rename it and add some open license video as an example instead of music videos, can they still ask for a takedown?

5y agoHN ↗

They should rename it to open-license-content-dl, paste warnings all over the readme about how it should NOT be used to download copyrighted content, post it to github, and see what happens.

5y agoHN ↗

they could create a youtube channel and upload some test/example videos to that

5y agoHN ↗

Well, there's git over SSB (Secure Scuttlebutt) and got over IPF (Interplanetary Filesystem)... That should be distributed uncensorable git...

5y agoHN ↗

keybase.io provide decentralized crypto solution, it's better to open source community to move on to such crypto soluion

5y agoHN ↗

I too thought of this, but keybase is bulky, software-wise. I'm not a fan of having to run its service just to access public git repos.

5y agoHN ↗

Keybase is extremely centralized, and they were bought by Zoom a few months ago.

Stop using Keybase.

5y agoHN ↗

Since git is already decentralized, this definitely seems doable.

5y agoHN ↗

My thought exactly. It even incorporates functionality for turning any local git repo into a shared git repo.

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.

5y agoHN ↗

Git seems like a great candidate for hosting through TOR; it's super low bandwidth. I often find myself wondering why DMCA'd fan projects don't just switch to anonymous TOR hosting. Obviously it's not bulletproof, but if it's just copyright holders you have to worry about and not state actors then it seems like a great solution.

5y agoHN ↗

a great candidate

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.

5y agoHN ↗

Sure, youtube-dl could be hosted on TOR, but how many of its users will follow it to TOR?

The RIAA would score a great victory if it could essentially force youtube-dl development to go underground.

5y agoHN ↗

What if collaboration on opensource projects (i.e. hosting, issues and their comments) was decentralized instead of relying on a central entity like Github? That would keep the developer base active and make DMCA takedowns ineffective.

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?

5y agoHN ↗

Well, git commits can be signed by they're authors, verifying authenticity.

This would prove if malicious commits have been added to a mirrored repository.

5y agoHN ↗

I imagine someone can re-publish it on Github without it being taken down if they rename it, change the README and/or add some disclaimer saying this tool shouldn't be used to download copyrighted works.

Collaboration to keep it up to date hopefully follows soon after.

5y agoHN ↗

This would definitely be a good time for a rebranding, the tool is now very far from its original "youtube-dl" purpose.

5y agoHN ↗

They should rename it to 'please-ignore-this-letter-it-is-fake'.

5y agoHN ↗

Regarding this, does anyone know where the best place to hear from the main developers is?

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.

5y agoHN ↗

Regarding this, does anyone know where the best place to hear from the main developers is?

Sure, their website https://youtube-dl.org/

But they don't seem to have updated it yet

5y agoHN ↗

Website has since been updated with new download links and a notice about the takedown, so I'd keep my eye on it for future updates.

5y agoHN ↗

Despite the project name, "youtube-dl" is a nearly universal video downloader. It contains hundreds of special cases for specific websites, which will gradually break without maintenance. It would be a huge loss.

5y agoHN ↗

I would go so far as to say the source code of youtube-dl is less relevant than its existence as a rallying point. The project can be disrupted by attacking its centralized points, but I doubt the general effort can be suppressed long-term.

5y agoHN ↗

Youtube is far from the only thing ytdl is useful for. I have a particular hate for youtube and basically don't go there, but still make plenty of use of youtube-dl.

5y agoHN ↗

Where do you use it? I didn't realize it works on other video websites as well...

5y agoHN ↗

I use it on Twitter a lot because tweets are so prone to getting deleted.

5y agoHN ↗

I have wondered why Real Player never seemed, over a period of years (some years ago, at least), to need updates to cope with downloading from YouTube, and yet youtube-dl seemed to need regular updates every few months.

* 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.

5y agoHN ↗

What if I remember the song I listened to on YouTube and I can remember any copyrighted material? Are they going to serve me with DMCA to disable part of my brain? These organisations are ridiculous.

5y agoHN ↗

Ok, so who's building a distributed, cryptographic, uncensorable version of GitHub?

5y agoHN ↗

+1, This was the first thing came in mind after reading the article.

5y agoHN ↗

Keybase, outside of the distributed bit along with the question of their future, provides zero-knowledge git repositories (they’ve literally got no idea what is in your repositories, including metadata).

5y agoHN ↗

I doubt any of Keybase's features from flailing around to see what will stick will last much longer now that they've been bought by Zoom.

5y agoHN ↗

It's on life-support, yes.

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.

5y agoHN ↗

IMO, Git+blockchain is a pretty good match on paper.

5y agoHN ↗

Git was blockchain before blockchain was cool.

5y agoHN ↗

https://github.com/cjb/GitTorrent/ was building a p2p git.

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.

5y agoHN ↗

The only way to fight DMCA abuse is through a lawsuit. Hopefully they setup a legal fund, because I would certainly donate.

5y agoHN ↗

This is like issuing a DMCA takedown on Microsoft Word because it's possible to use it as a means to defame someone.

5y agoHN ↗

I think a better analogy is to forbid an OCR software because they COULD be used to reproduce a book.

5y agoHN ↗

Yeah, anyone using it to save books for future generations instead having them rot to nothing should burn in hell! (sarcasm)

5y agoHN ↗

I have kept an eye on a massive amount of content and it's truly horrifying how much content is lost each month. It's not even clear violation of copyright, it's just that nobody small has the energy to fight for fair use.

There should be no DMCA, all ligitation should cost the person suing a percent of income. The tyranny big players have is disgusting.

5y agoHN ↗

Is there any legislative or regulatory work that is trying to address the gigantic mess that is music (or media in general) copyright and licensing in the US?

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.

5y agoHN ↗

The DMCA was intended to give large content publishers a big stick to extract rent from third parties without needing to do any work. It is functioning as intended and is very unlikely to be reformed to favor the public interest.

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...

5y agoHN ↗

The latest EU publisher payout copyright 'reform' -- which, among other things, banned photography of buildings and skylines

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.

5y agoHN ↗

The point of the DMCA and US copyright is not to be reasonable, just, fair, or whatever. It exists to make large corporations money via regulatory capture.

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.

5y agoHN ↗

Considering youtube-dl isn't doing anything a web browser accessing these sites can't do, essentially serving as a headless web browser with a convenient CLI, I don't see how this could possibly have a leg to stand on.

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.

5y agoHN ↗

Someone should issue DMCAs for the Chromium and Firefox repos. Fight fire with fire.

5y agoHN ↗

How is it illegal to file a DMCA takedown request if you believe you have legal standing to do so?

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.

5y agoHN ↗

You also need to either own the copyright or have permission from the owner.

5y agoHN ↗

My understanding is that it only requires you send the notice in good faith, meaning that if you think you own a copyright but don't (because, say, you own too many copyrights to keep track of them) you're still in the clear.

5y agoHN ↗

Apparently not, since people get away with sending fraudulent takedown requests all of the time. Now that I think of it, has anyone ever been punished for abusing the DMCA?

5y agoHN ↗

There's an obvious difference between a browser that, in normal use, doesn't allow storing of streaming video, and a tool that does and isn't supported by Google at all.

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.

5y agoHN ↗

Is there a law that says https protocol has to be consumed by a browser?

5y agoHN ↗

You can right-click->save-as the video link in the network panel of dev tools of either Chrome or Firefox. Google's own browser lets you save youtube videos with a few clicks. Also taping TV and radio is legal as well, even though the receiving device doesn't offer that functionality, unlike Chrome.

5y agoHN ↗

They literally recommended downloading copyrighted material, which seems like a beacon of "this is primarily for copyright infringement"

5y agoHN ↗

Youtube itself should be taken down because it may be used to upload copyrighted content

5y agoHN ↗

As we can see again having github as a sole distribution mechanism was a bad idea. I hope they have backups and will be back online soon.

5y agoHN ↗

YouTube-dl is actually in pypi and other places, GitHub is not the sole distributor. However, it is their sole development hub, as far as I can see, and that should change. After all, Git is distributed by nature. I suspect they’ll have to investigate a bunch of those new tools that try to do issue-tracking on top of pure git, and the main developers will have to go underground. It’s DeCSS all over again.

5y agoHN ↗

How about we serve the DMCA to the original media source. Attacking the tools does not make any sense. Which tool is going to be next?

5y agoHN ↗

Because of how github works these moves are much more damaging than you might expect: In addition to revoking your access to the supposed "infringing" work, you also lose access to all your pull request comment traffic and issues -- which, unlike the source code, aren't continually replicated to the systems of all developers.

5y agoHN ↗

Those things are however exposed via their API, so anybody who’s worried about a similar situation may perhaps do well to utilize it and take regular backups.

5y agoHN ↗

If peertube instances started to host RIAA affiliated content they might get a DMCA notice as well.

5y agoHN ↗

The instances yes, but not client apps.

5y agoHN ↗

Is there still no safe alternative to GitHub?

5y agoHN ↗

Who is the defendant here? Do they have resources to take this to court? If not, is there any movement on raising a legal defense fund and finding competent counsel? Anyone from the ACLU team here, and interested in weighing in or at least bringing this to your leadership for consideration?

5y agoHN ↗

I would be willing to contribute to a crowdfunding campaign to support any defence effort. Is the EFF involved?

5y agoHN ↗

Its quite irrelevant - seems like "forbidding knifes because they can be used as a weapon" or "banning port scanners because of security reasons".

5y agoHN ↗

It is a bit of a tough question. How would I feel about someone borrowing a book from a library and then photocopying it to keep a local copy? If the intent was to re-distribute then I would not feel comfortable allowing it. However, if the proposed remedy was to ban personal ownership of photocopiers I would not even consider that a valid approach. But would I expect I could keep my own photocopied version instead of paying retail price for the book? And what if a purpose built photocopier was designed and marketed for the express purpose of photocopying books from the library?

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.

5y agoHN ↗

I don't think anybody really disagrees that redistribution is a copyright violation and the youtube-dl software doesn't provide any facilities for uploading or re-broadcasting content. This takedown is completely frivilous.

5y agoHN ↗

Aren't books kinda a special case ? Given all the past (and even current!) cases of censorship and book burning, shouldn't we strive to never allow that ever again and to protects books for future generations ?

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).

5y agoHN ↗

Aren't books kinda a special case ?

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.

5y agoHN ↗

Then maybe we should strive to protect all of our culture for future generations ? Instead of trying to artificially limit it's spread for a quick buck and risking loosing it all in the process.

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...

5y agoHN ↗

While photocopying books for distribution is against the law, I disagree that it should be against the law.

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.

5y agoHN ↗

I mean it's not the best setup, but what else do you suggest? This was meant for protecting income of authors while not being too inconvenient for most users. Netflix primary model is this and it is working great for them and users. Many people do share the account but it does add some inconvenience that only some maximum number of people can watch at the same time, making people get subscription.

5y agoHN ↗

Your example is a case where piracy had no profit impact, but it's not the general case.

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.

5y agoHN ↗

render others' work unprofitable

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?

5y agoHN ↗

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.

5y agoHN ↗

I feel it would materially harm my ability to earn from content I create

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.

5y agoHN ↗

This modern trend of needing to pay before you even know if you love the work

How modern do you mean? It seems to me that I pay for a movie ticket before I sit down in the theatre and watch it (trailer not withstanding). Same is true for plays and operas which preceded that. I would pay for a book before reading it (cover excerpt not withstanding). In fact, I'm trying to think of any media that I would consume before I paid.

Got any data to back up this feeling?

Meh, we're only going to throw anecdotes back and forth. I recall bands like Radiohead and comedians like Luis C.K. experimenting with "pay what you want" ideas. I would suppose the fact that didn't catch on (outside of humble bundle charity type things) would be evidence that it didn't work for a large enough segment of creators.

Also, it isn't like RIAA members are allergic to money. I mean, if there was any reasonable evidence that free sharing of content resulted in profits that are equal or greater (or even viable) rationality suggests that they would embrace it.

5y agoHN ↗

I have no issue paying for movie tickets or concert tickets, and believe that is the primary way movie and music creators should be supported. A theatre ticket covers the costs of running a theatre, a concert ticket covers the cost of running the concert. And the artists/creators receive a cut of that.

But if I copy a film, what's actually happening? The distributor has already spent the money on making blurays and distributing to streaming platforms. If I photocopy a book, the publisher has already spent the time and material to produce the physical copy. The only argument here is that the author deserves a cut of revenue, because another copy of their (already publicly available idea) is in existence. I find this notion absurd. Why is an author entitled to money when an idea they have already disseminated is put onto a new piece of paper? I own the paper and the photocopier. The materials are mine. The author should not have a monopoly on how ideas are spread. Nobody can compel them to share their ideas, but once they are shared, they are out there. I could read a book to somebody and a partial copy exists in their mind. Should authors receive royalties for mental copies too? Why not? They lost nothing physical when I made a paper copy either.

Our copyright system is broken, and is based on completely flawed premises.

5y agoHN ↗

It's a difficult problem to solve, but it's worth pointing out that our copyright system was originally meant to protect initial works, then when they expire, create a rich public domain for citizens.

5y agoHN ↗

Meh, we're only going to throw anecdotes back and forth.

That’s a big problem with this whole debate. I think we’d be better off without copyright and that creators would find new, better ways to make a living. But it’s pretty difficult to see how this could be convincingly proved or disproved, so I guess we’re stuck with the status quo forever.

5y agoHN ↗

A law which can't be proven to be effective is a bad law. If it's difficult to prove whether or not copyright is effective then the laws which restrict freedom need to be removed.

5y agoHN ↗

Your interest in creating content for profit might be diminished as a result but other people might be able to build on your work.

5y agoHN ↗

I agree with your moral analysis here, and that the prohibited thing should be the distribution of protected IP, not simply retaining a copy of something you already had rights to view (which I think there is substantial precedent for).

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.

5y agoHN ↗

Mix tapes of copyright content are legal... not sure why youtube-dl you be illegal even if only used to copy copyright content

5y agoHN ↗

Tangential note: In India, it's legal to copy books for personal purpose, but not to copy it for profit.

5y agoHN ↗

Am I the only one who uses youtube-dl for downloading silly mp4s from Twitter and Reddit, and all the other aggregators? I mean, sure: some Youtube videos are copyrighted, and youtube-dl was originally made to download Youtube videos. But despite the project name, it's evolved beyond just that. Don't kill the whole damn project when the legal issues are limited only to certain backends to begin with.

5y agoHN ↗

It is a bit of a tough question. How would I feel about someone borrowing a book from a library and then photocopying it to keep a local copy?

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.

5y agoHN ↗

Made a torrent of the latest version from pypi. Hope it works. magnet:?xt=urn:btih:da76788b4d05583f8a3a7ed60f136c5647daa113&dn=youtube%5Fdl-2020.9.20.tar.gz&tr=http%3A%2F%2Ftracker.bittorrent.am%2Fannounce&tr=http%3A%2F%2Fopen.acgtracker.com%3A1096%2Fannounce&tr=http%3A%2F%2Fretracker.krs-ix.ru%2Fannounce&tr=udp%3A%2F%2F9.rarbg.com%3A2710%2Fannounce

Edit: NVM. Getting nowhere with setting that up.

5y agoHN ↗

Is there anything stopping someone from creating a new youtube-dl repo on GitHub with the README examples in question removed?

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.

5y agoHN ↗

It can be done, the search keywords are "git rewrite history".

5y agoHN ↗

Git history, just like human history, can be rewritten, if you only know how.

(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.

5y agoHN ↗

can RIAA be hit back? - to me it looks like the RIAA actions to take down software intimidate the authors of the software and obstructs the authors from exercising and enjoying of the copyright of their software.

5y agoHN ↗

Microsoft are in a strategically very interesting position, one which could render the RIAA's actions suicidal.

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-...

https://toot.cat/@dredmorbius/105087121976979704

5y agoHN ↗

Not a lawyer, software guy working in licensing & copyright for 20+ years. Was paid for a few years to talk about this stuff with tech and publishing people.

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.

5y agoHN ↗

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.

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.

5y agoHN ↗

What? It just needs to host the Git repo in a country that does not care about these sorts of things.

5y agoHN ↗

Correct. Distributing and developing illegal software (as RIAA has declared youtube-dl to be) is a solved problem technically.

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.

5y agoHN ↗

I am confused. The complaint seems to be that copyright infringement is happening with the downloading from YouTube, but I thought it happened with the uploading to YouTube. Could you clear that up?

5y agoHN ↗

Many, most popular ones these days even, YouTube videos are uploaded in an authorised manner. Music videos by VEVO, etc.

5y agoHN ↗

Assuming youtube-dl is dead and the web APIs become hopelessly obfuscated, how hard would it be to talk to youtube as if I were a samsung smart tv?

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?

5y agoHN ↗

YouTube TV is a web page, albeit one you can't simply open with a web browser. Google could easily obfuscate it too.

5y agoHN ↗

What is the simplest way to store source code repos in some decentralized file system? Like store git repo in IPFS folder, would others be able to clone it and submit pull requests?

5y agoHN ↗

it's already decentralized. now developers just need to setup a different remote. as in git remote add whatever. the problem is how to publish the software.

5y agoHN ↗

What will server as the 'whatever'?

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.

5y agoHN ↗

This tool literally recommendeds downloading copyrighted material. This is a good take down.

5y agoHN ↗

It literally doesn't. It isn't a good takedown.

5y agoHN ↗

With what flag? I've got a copy right here

5y agoHN ↗

Maybe a stupid question but can the repository just be hosted in a server outside US jurisdiction and everyone carries on as before?

Why do I need to be denied access to a repo if I'm outside the US?

5y agoHN ↗

I think to take your lessons from the pretexts is like judging a war by its casus belli.

5y agoHN ↗

The smart thing would have been to always filter by CC. And then anyone who can type # could just modify their source code a bit to adjust the filters.

5y agoHN ↗

In the case of youtube-dl, they couldn't do that. At least VEVO videos have an additional layer of "protection" — the direct links to video files require a signature of some sort IIRC. Downloading a non-DRM-ed video is as easy as making a request to https://www.youtube.com/get_video_info?video_id=aqz-KE-bpKQ and then following a link to the format you need, but with those music videos, that won't work. So the test cases were a necessity.

5y agoHN ↗

Hmm, are you sure that link is correct? In firefox and chromium that gets me about 122K of not-very-easy-to-parse text.

5y agoHN ↗

Yes, it's correct and it should return that. The top-level serialization format is simply a URL query string aka application/x-www-form-urlencoded. No idea why but probably historical reasons.

5y agoHN ↗

In ruby:

  require 'cgi'
  require 'json'
  require 'net/http'
  res = Net::HTTP.get URI 'https://www.youtube.com/get_video_info?video_id=aqz-KE-bpKQ'
  vars = CGI.parse res
  json = JSON.parse vars["player_response"].first
  pp json["streamingData"]["formats"]
5y agoHN ↗

Hi Kim!

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.

5y agoHN ↗

Curious to know if it was not possible for YouTube-dl to create content which was ‘similar’ to the infringing ones & upload it on YouTube for their test cases?

5y agoHN ↗

Or they could have had the YouTube links in another file, not part of the repo, and only download and parse it when tests are run.

5y agoHN ↗

Best thing would be for them to just upload their own test videos with the various formats and test against those.

5y agoHN ↗

Most of this comment chain has been about why they couldn't do that. They were testing against special features that are only available to select partners.

5y agoHN ↗

AFAIK the features they're testing are only available to specific partners. I can't be sure, but it isn't obvious how they could go about doing this.

5y agoHN ↗

Hi Nullc, long time no see! :-) And shoot, that is annoying.

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.

5y agoHN ↗

One solution would be to load those links from environment variables, similar to how it's done with API access keys and other sensitive data. This would mildly inconvenience the devs by having to copy the links to those types of content by hand and set the vars before running the tests, but none of the "infringing" links would be present in the repo itself.

5y agoHN ↗

Setting aside the evils of the DMCA itself:

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.

5y agoHN ↗

If the video is viewed directly on youtube, the majority of viewers will also be served ads which generate revenue that is shared with the copyright holder (note how youtube identifies the music in the video and who the copyright holder is below the description of the video). So it's not about not wanting it downloaded, it's about not wanting the ads circumvented.

5y agoHN ↗

Your weekly reminder that

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.

5y agoHN ↗

at least not if you're doing anything that smells of copyright issues

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.

5y agoHN ↗

Or in plainer terms: 1. You should not have your development process on a centralized platform, period.

5y agoHN ↗

Should we count country and government as 'centalized platform'?

5y agoHN ↗

there will never be a safe country. The robust option is to mirror them in hostile countries. Divide them and conquer

5y agoHN ↗

I'm sure the developers have the whole thing on their local machines and it would be terrible if it was uploaded somewhere in a country that doesn't give a squat about DMCA.

5y agoHN ↗

I'm a contributor to gallery-dl and it occurs to me this exact same scenario can happen there. So I at least set up a cron job to backup the issues in case it gets trolled. Its the only really problematic part to get taken down from Github.

5y agoHN ↗

Thanks ... your tool seems to be the solution for my problem :D

5y agoHN ↗

So why does the Recording Industry Association of America get to decide whether a tool for downloading content on a service that is produced by people around the world and released under many different licenses exists or not?

The RIAA and America in general has no right to police the rest of the world.

5y agoHN ↗

Quite obviously, because the developers decided to host their code there.

If they hosted it somewhere else, there would be different laws restricting how people all over the world use it.

5y agoHN ↗

What is the percentage of content hosted on youtube actually under control of the RIAA vs other content? If less than the majority of content on youtube is theirs, what gives them the right to have a tool removed for downloading content from a service that's not theirs and which they don't own the majority of the hosted content?

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?

5y agoHN ↗

I am guessing they'll find a country with more respect for freedom than the USA and host it there. All the devs will obviously have the full repo and history to put it elsewhere.

5y agoHN ↗

Perhaps it's time to take a closer look at projects like Fossil that combine distributed version control with wiki and issues tracker built in. If the devs behind youtube-dl were using Fossil then picking up right where the DMCA leaves them is no sweat.

https://fossil-scm.org/home/doc/trunk/www/index.wiki

5y agoHN ↗

Pagure is a git forge you can self host, where every repo contains not just project source code but also all related metadata (wiki, issues, etc.): https://pagure.io/pagure

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.

5y agoHN ↗

I think that they should update the readme and rebase the history and eliminate any references to the original copyrighted material of the readme file. possibly even making a request of GitHub to help them clean the repo or evidence of any logging information with regard to the copyrighted content. I think it would be relatively easy to argue that a web browser would be guilty of every single little thing that can be done through YouTube DL binary in the right hands. The only copyrightable information that YouTube - DL offers is an instruction set or a direct correlation to the fact that they can use this tool to do some things that are implicitly prohibited.

5y agoHN ↗

I warned everyone The Fight Club Rule needed to be in effect. There is no Youtube-dl

5y agoHN ↗

Very true, but it was inevitable. The tool worked way too well to remain under the radar for too long. What will be interesting to watch will be where the forked versions of Youtube-dl will end up.

5y agoHN ↗

Even Meme will be DMCAed in future. Future is dark :(

5y agoHN ↗

Wow even release downloads were taken down

  $ 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.gz
5y agoHN ↗

The removal of youtube-dl is a loss to the open source community. I hope this does not set a precedence going forward and that authors re-establish themselves (and the bug tracker, which had immense amount of information).

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...

5y agoHN ↗

py-kms (https://github.com/SystemRage/py-kms) was taken down briefly but remains up, so there is hope.

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.

5y agoHN ↗

I remember back in 2008 I read a research paper on what to not do when publishing/advertising peer-to-peer networks in order to avoid stuff such as RIAA. Showing copyright-protected work in your website/screenshots/etc was a big thing. Sadly I cannot find the paper anymore and I don't remember all the advice :(

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.

5y agoHN ↗

Seems like that student has admitted in the most public and irreversible way possible that they have distributed their coursework online, almost certainly in contravention of academic policy.

5y agoHN ↗

Lawyers have no sense of humor. They are like the opposite of hackers.

5y agoHN ↗

Lawyers have no sense of humor. They are like the opposite of hackers.

Although you're posting this on a forum for hackers where humor is considered a mortal sin.

5y agoHN ↗

Humor is just held to higher standards compared to other forums. Most of us can't attain that standard so we don't make humorous comments.

5y agoHN ↗

Yeah let’s not pretend we’re better than anyone else. What the parent comment said is accurate.

5y agoHN ↗

low effort drive-by puns are looked down on here on this particular forum, sure.

But playful hijinks like getting your o-scope to run DOOM is what hackers thrive on.

5y agoHN ↗

I hope this does not set a precedence

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.

5y agoHN ↗

Seems like a fresh mirror here https://gitea.eponym.info/Mirrors/youtube-dl to fork and start it over somewhere else. Gitea is a great project. Now we need someone to fork and publish it over Tor or something. Decentralized solution would be a next step.

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-...

5y agoHN ↗

Thank you.

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.

5y agoHN ↗

I really hope the author will send a counter-notice.

5y agoHN ↗

Sounds like it’s about time youtube-dl moves to IPFS.

5y agoHN ↗

Ironically, I've heard of video takedown service that this has broken.

5y agoHN ↗

On a technical side-note...

Would it be possible to host a Git server on an IPFS distributed system?

5y agoHN ↗

Time to upload youtube-dl-legal a computer program created for the express purpose of downloading only videos with permissible licenses. The readme shall note that any use of youtube-dl-legal to download illegal videos is expressly forbidden and even thinking about using it in this way is thoughtcrime of the most serious degree.

5y agoHN ↗

Not just users, this is a good nightmare for a lot of projects that were relying on yt-dl (maybe for other features than downloading)

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?

5y agoHN ↗

Ha I'd nearly forgotten about the RIAA, thanks for reminding me to re-up my EFF donation.

5y agoHN ↗

I feared this day for a long time. Yet I am still disappointed that it had come.

I wonder if the project can defend itself?

5y agoHN ↗

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-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

5y agoHN ↗

Let me be clear, basically the "rolling cipher" is DASH/HLS streaming for automatic quality changing. This has been an argument RIAA has been making since 2016, but outside of the judgement in Germany (which is wrong). All they have had on it are default judgements where no-one has even tried to counter it in court.

5y agoHN ↗

It's still up on gitee

Warning: do a diff against the last archive.org copy to make sure it's clean.

5y agoHN ↗

hold on... brew update && brew upgrade

phew. i'm all good.

5y agoHN ↗

They can't claw it back though!! That's why I just ran the update && upgrade to make sure I have the latest

5y agoHN ↗

I don't know. Micah's pretty reliable though.

Any recent Homebrew commits?

5y agoHN ↗

now i'm super glad that i ran it when i did, as it must have been before it got pulled. it updated without issue. i also followed the Micah provided to download the source. you know, just in case.

5y agoHN ↗

RealPlayer next?

"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."

* https://www.real.com/uk/realplayer

5y agoHN ↗

This should be about impossible to enforce? Every developer and everyone who has ever cloned the repo has the complete source tree with commits. I can think of a list of countries where United States laws are not a concern, I imagine that shortly this will be one of the most distributed repositories ever.

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)

https://gitea.com/

https://gogs.io/

https://about.gitlab.com/install/

https://git-scm.com/book/en/v2/Git-on-the-Server-GitWeb

5y agoHN ↗

It's not access to the current program that is at stake, it's the ongoing public updates to handle changes made by the Youtube site.

5y agoHN ↗

Understood, just waiting to see where the devs pop up. I imagine that someone will help them with a DMCA counterclaim also. RIAA has been beaten many times, they have a long history of creative interpretation that the courts do not always agree with, and US law is only valid in the United States and Australia (thats a joke, but do hope they get on the brick and road plan or stop acting like a US colony at some point).

5y agoHN ↗

That would be true IF youtube-dl was all about downloading YouTube videos only, but it's not. It's used by people to download videos from like a thousand other websites too.

5y agoHN ↗

I agree with your concept. The main problem though, is that each of those code hosting web app is a silo of its own. Any new contributor will have to create a new account for each of the self-hosted projects. Youtube-dl is one of those projects that can't survive in such an environment. Sourcehut is free from such requirements - but many complain about difficulty of email-based workflow. Another option is the upcoming federation protocol from gitlab.

5y agoHN ↗

I had a youtube-dl repository to fix a bug in Twitter video downloads, but I just checked and it's been removed.

5y agoHN ↗

So the RIAA has tech folks just like any other organization. Some of those tech folks likely read HN. Question for you folks (use throwaways if you feel it could jeopardize your job): how do you ethically justify working for such an organization?

5y agoHN ↗

Should all just clone it and host it in every possible place and on servers outside the US and give them the big middle finger to go F themselves.

5y agoHN ↗

Youtube-dl (2020) would be an easier case to present to the public than DeCSS (2000).

Everyone 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.

5y agoHN ↗

Disclaimer: IANAL.

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.

5y agoHN ↗

The concrete action they're accusing youtube-dl of is that it "circumvents YouTube’s rolling cipher". The RIAA has used this same complaint to have other sites/tools taken down. I've looked into the implementation, and it turns out the Youtube is at most merely rearranging the characters of the CDN url of the video, and they send you JS code in the page to correctly arrange the characters of the URL so you can download it. Youtube-dl is using the Google-supplied JS and a JS interpreter to transform the Google supplied URL into the URL they need to download the videos. Youtube is asking Google what to do, and Google is saying "here's how you download the video".

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

5y agoHN ↗

Sounds like the next step should be: "embed a JS interpreter and use Google's own code."

5y agoHN ↗

That is in fact, exactly what youtube-dl is doing. They download the JS code provided by Google, then use regexes to figure out which function is the function that Google provides for un-arranging the characters, then they load Google's JS into an interpreter and provide it with the Google supplied URL to get the original signature. See the code here:

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.

5y agoHN ↗

Ah: I assumed this was something a la DeCSS - copyrighted numbers or a decryption algorithm or something.

I don't see how this is technically different than implementing any other conforming User Agent. Legally...

5y agoHN ↗

Ahem, your honor, please use the gavel to make it official.

5y agoHN ↗

Are they lying when they say ‘YouTube’s “rolling cipher” is an effective technical measure within the meaning of EU and German law, which is materially identical to Title 17 U.S.C. §1201 of the United States Code’? That seems quite plausible to me. Executing Google’s code in a regular web browser doesn’t give you a way to save an .mp4 file on your computer.

5y agoHN ↗

You can use Chrome's Network Tools to download the files. Hard to argue that it's effective when Google's own software can bypass it out of the box.

Just check the network tab, copy the URL and remove the range parameter. You'll get one for video and another for audio, which you can merge to recover the original file. This is effectively what youtube-dl does.

5y agoHN ↗

(A) seems applicable to me. It is obvious that the primary purpose of youtube-dl is to download videos from YouTube. It is also obvious that most videos on YouTube are copyrighted, and the absence of a ‘download’ button protects the copyright holder’s right to prevent viewers from redistributing the videos. The contentious part is whether not YouTube has “effective” anti-downloading controls that youtube-dl “circumvents.” The fact that it needs to be continually updated to defeat attempts at blocking it suggests that this is a fair characterisation.

5y agoHN ↗

It is also obvious that most videos on YouTube are copyrighted

"Most" is not the same as "primary".

5y agoHN ↗

The conspicuous lack of a feature is not an active measure to be circumvented. Also, no one says you need to consume HTTP payloads with a traditional browser, no matter how much the rest of the worldwants to think that the Internet is all about the WWW.

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.

5y agoHN ↗

The RIAA says the technological measure at issue is YouTube’s “rolling cipher,” which is more than the conspicuous lack of a download button.

5y agoHN ↗

The "under penalty of perjury" part of DMCA has always been fascinating to me. Has there ever been a single case of this being enforced against inappropriate DMCA takedowns? What's next? DMCA against Intel for making a chip that can facilitate copyright infringement? Maybe a power company for providing power to the machine that could do it?

5y agoHN ↗

To misquote Richard E Grant: Let the forking begin!

5y agoHN ↗

Isn't DMCA working the way that if you disagree with dmca takedown and fill certain form, the side asking to take down content (RIAA) needs to get court order?

That's the way how it works with google search.

5y agoHN ↗

Is there a decentralized version control system solution out there to host projects like this?

5y agoHN ↗

This is such a snark reply, you know exact that git and github are not the same thing.

Discovery and issue management is important and is not part of git.

5y agoHN ↗

I suspect that the parent comment might have been a joke.

5y agoHN ↗

For real? It’s decentralized just like http, ash and email is decentralized.

It’s a protocol. You can use it against any target you like.

5y agoHN ↗

When people say decentralized they mean something like bittorrent or ipfs, often as opposed to http. Saying http is decentralized is... stretching the definition. With this logic a USB cable is decentralized because "you can use it against any target you like". USB mass storage dead drop devices can be connected to by anyone. And USB "is a protocol", just like the examples you mentioned. But I doubt anyone would claim USB is decentralized.

Though git is also not really what people would usually mean by decentralized (as it doesn't, by itself, try to connect to a pool of servers, DHT network, or something like that), it's definitely closer to it than http.

I'm also not sure "for real?" helps the conversation.

5y agoHN ↗

You are conflating decentralized and distributed. BitTorrent is distributed, HTTP is decentralized.

5y agoHN ↗

Distributed:

having at least some of the processing done by the individual workstations and having information shared by and often stored at the workstations

Decentralized:

the dispersion or distribution of functions and powers

(Both from Merriam Webster)

BitTorrent definitely fits the distributed definition (as you said), but whether HTTP is decentralized depends on how you view it. Yes, there can be more than one HTTP server, but again, there is more than one USB cable and I wouldn't call that decentralized. HTTP doesn't distribute the functions and powers between the client and the server (the two parties in any HTTP request): the client can hardly serve the response and the server can hardly issue a request. But it does distribute functions and powers between multiple servers because there isn't one global HTTP server or party that serves the Internet (now that would be a scary thought--looking at you, CloudFlare).

So it depends a bit on the explanation of that definition.

I think what I said before might be right: it's "stretching" the definition (interpreting it in a way that includes this). I can certainly see where you're coming from (anyone can host their own HTTP server just like anyone can host their own email or git server or bittorrent node) but it's not really how the word is usually used. But perhaps we use it wrong, because it does seem like a useful distinction to make (a centralized (proprietary) game server vs. a decentralized protocol like HTTP vs. a distributed protocol like BitTorrent).

5y agoHN ↗

Legitimate question, as most people see this as hosted on a server somewhere and your client doesn't sync with other clients... usually!

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.

5y agoHN ↗

git was designed to be used decentrally. Every clone of a git repo is technically an equally valid source of truth for the repository. In practice though, pretty much every project has a single git repo that is used to synchronize all the other copies of the repo, because it's much easier to coordinate.

5y agoHN ↗

When you clone a repo from Github, you now have locally an equally as valid and complete repository as Github. If you expose access to it over the Internet, I could clone that repo from you, work on it, and send patches to you. Etc.

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.

5y agoHN ↗

valid and complete repository as Github.

No you don't because its missing the issue tracker which is one of the most important bits of data.

5y agoHN ↗

That's not a part of the repo, though. It's a value-add service of some git hosting platforms, and it's entirely orthogonal to the repository itself.

5y agoHN ↗

It would be terrible if youtube-dl.com would digitally sign and release youtube-dl source as zips on thepiratebay and other torrenting sites instead of github.com.

5y agoHN ↗

This is a really sad moment for open source, especially for content creators and devs in media/content spaces. I've shipped youtube-dl for a user-facing (production) experience before. This sucks.

5y agoHN ↗

Oh the irony of cloning a banned repo from a Chinese git mirror...

    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.
5y agoHN ↗

Were the developers in the habit of signing commits, or do we just have to assume that the gitee mirror is 100% legit?

5y agoHN ↗

ah, so at least some copies of the code remains even on github.

5y agoHN ↗

I got the tarball from the official site, using Internet Archive.

5y agoHN ↗

For now. Occasionally the Internet Archive is served with DMCA takedowns too.

5y agoHN ↗

Because the stereotype is that China is the one that bans the products of the Free West.

5y agoHN ↗

And even more ironically, china is one of the biggest patent/copyright infringers in the world.

5y agoHN ↗

The fact that Chinese businesses aren't bound by the Western intellectual property regime is one of their greatest long-term competitive advantages.

It remains to be seen whether the Chinese government will revert to intellectual protectionism once they reach technological parity with the West though.

5y agoHN ↗

They don't have a great justice system to start with, so the situation for their citizens is not great

5y agoHN ↗

Thanks for doing God's work here. Had to go all the way to the second page to find a copy to clone.

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.

5y agoHN ↗

Seems to me this is leading to contested cases that can be routed to a more corporatist friendly Supreme Court.

5y agoHN ↗

Worth noting the MPA already tried doing this to Popcorn Time, a BitTorrent client designed to provide a Netflix-like UX.[1] The Popcorn Time devs put in a counter-notice and the repository was back up a few weeks later when the period for the MPA to respond expired.

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-...

5y agoHN ↗

It's interesting how many Github counternotices (e.g., [1] [2]) seem completely justified yet link to repositories that are no longer on GitHub. I wonder what happened.

[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.

5y agoHN ↗

WTF this isn't copyright infringement. This is breach of TOS, technically. They have no grounds to use DMCA takedowns for this.

How in the world is Github allowing this?

5y agoHN ↗

DMCA! jazz hands

Github basically has no choice here, they must take it down immediately and then they or the creator has to fight to get it back up.

The law is set up for DOS attacks.

5y agoHN ↗

One of the earlier worries about the DMCA takedown process was that it would be used fraudulently to take down important things right before an election, or during a breaking news window to bury a story. I wonder if anyone has tried that yet.

5y agoHN ↗

Pity. I really liked rubymine, and while I used it legally, I really dislike abusing the DMCA like that. Time to search for an alternative.

5y agoHN ↗

Those repos have a 404 response, which means the user decided to delete it themselves for whatever reason. Repos taken down from DMCA return 451 (unavailable for legal reasons).

5y agoHN ↗

I just used windows-g to record upside down music video. Seems to work fine. mp4 file is in my captures video. Sound is great. How is that acceptable and this isn't?

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.

5y agoHN ↗

Can you use the DMCA for a TOS breech? It's not obvious to me that Google would have a claim.

5y agoHN ↗

TOS don't really have any legal power, and you don't even have to accept TOS to use youtube-dl, so I guess the worst they could do would be to deny you service.

5y agoHN ↗

What’s the difference? The main one I can see is that the RIAA is accusing ytdl of being a DRM circumvention tool while Popcorn Time is just a straightforward P2P infringement tool. That doesn’t make the DMCA notice any more valid.

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.

5y agoHN ↗

How is that acceptable and this isn't?

Because Microsoft can afford lawyers to fight this, and random GitHub projects can't. It's an intimidation tactic.

5y agoHN ↗

It's copyright terrorism.

The aim is fear.

5y agoHN ↗

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.

Probably not wanting to poke a hornets nest of the open source community.

5y agoHN ↗

All this misuse of technology is going to bring back the kinescope.

5y agoHN ↗

Well I for one hope you are correct. The fact that popcorn time is still up gives me hope that ytdl will also return soon.

5y agoHN ↗

Is there any chance that someone could sue them for filing illegitimate claims?

5y agoHN ↗

Yes, but it is more difficult than just spamming DMCA takedown requests. I was told I need to prove "tortuous business interference".

5y agoHN ↗

Tortious Interference with Contract

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.

5y agoHN ↗

As I recall, there was also an element where the DMCA claimant was protected if they could reasonably believe within good faith that their takedown was valid.

There's also unseen elements at play. If you're publishing semi-anonymously, the counter-claim process can deanonymize you.

Republishing the same content at a slightly different URL is the obvious, cheapest solution.

Very few people have been able to claim damages from false DMCA takedowns, although the DMCA specifically allows for it.

5y agoHN ↗

They probably can't go after Github because part of the purpose of DMCA takedowns is that companies which honor takedowns avoid liability for copyright infringement.

5y agoHN ↗

Can we pool funds to turn this into a lawsuit?

5y agoHN ↗

It was clear that youtube-dl has always been used for its utility. And the deeper problem here is why aren’t we allowed to do whatever want to whatever is streamed onto our screens? TV shows could be vhs taped without issue as long as not redistributed. For sure we cannot take this fight against google with the American laws, but I think the software was morally correct and should be legally permitted.

5y agoHN ↗

I find this amazing, essentially Google has been scraping every piece of content they can get their hands on, when a few individuals decide to get data, that wasn’t even created by YouTube, they get take down notices. The more I think about it hypocrisy should be a defence against these things.

5y agoHN ↗

Have they countered the claim per DMCA? So much ink spilled on this but there’s a process to fight erroneous removals like this.

5y agoHN ↗

So, are they going to also issue a takedown for YouTube Premium next? Premium allows you to watch/listen without ads and also allows you to download videos for offline use. If I pay for YouTube Premium, there should be no problem with me using youtube-dl to timeshift the content I've already paid for. It's no different than using a DVR to record a show off a cable channel I pay to subscribe to.

5y agoHN ↗

Really, the RIAA should be going after YouTube for better remuneration, rather than going after youtube-dl. Unless I'm missing something, they get paid no matter whether the view comes from a browser user-agent or youtube-dl user-agent. How is this any different than recording a song off the radio, which is, AFAIK, legal under fair use?

5y agoHN ↗

This should serve as an example to people who want (for example) the GNU project to relax their contributor copyright assignment practices. It only takes a single moment of complacency and the vultures will swoop in. In this case it was because of sloppiness around which urls were used in a demo. Yeah, all urls are the same to the guy who is building a url slurping service (which is why the take down will likely be defeated), but there is an entire profession dedicated to nothing but nit picking, loophole hunting, and general levels of pedantry that we have just come to call it lawyering. Layers are like cliffs or handguns. Stay as far away from them as possible, they are facts of life, but you really don't want to have anything to do with them unless you have no other option.

5y agoHN ↗

It would be interesting to see who added the testcase that has the copyrighted video. Maybe honest mistake, maybe it was intentional to kill the project.

5y agoHN ↗

Web browsers download the video too. Take down web browsers! Heck, outlaw operating systems! Hard drives are infringing on our right to profit!

... Actually, I should stop giving them ideas for their next takedown notices...

5y agoHN ↗

This is lousy! I depend on youtube-dl to archive videos for later use. Nothing MAFIAA would be interested in; just stuff from topical channels that I want to have around for personal use in case they get deleted.

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.

5y agoHN ↗

and yet the code is still in pypi for any developer to use...

5y agoHN ↗

I wonder if a) PyPI will get a DMCA notice and b) PyPI honours such notices.

5y agoHN ↗

As others have mentioned, I believe that the main problem here is that youtube_dl is "showing intent" to violate DMCA. If they modify the readme, they might be able to prove that the intention of the software is not necessarily to violate DMCA, but maybe just being a general purpose code or one for educational purposes.

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.

5y agoHN ↗

I was also able to apt install it on my distro, but the version I got was too old to actually work. So I cloned one of the git repos mentioned in this thread (Chinese copy) and ran it from there.

5y agoHN ↗

It could be a good idea to diff it against this version though.

5y agoHN ↗

I don't understand exactly how this works.

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?

5y agoHN ↗

From the DMCA repository:

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.

5y agoHN ↗

Could you just make a fork, take out the offending samples, and call it youtube-ld?

5y agoHN ↗

RIAA should take example from hip hop artists. Instead of worrying about people copying their songs they just talk over the entire piece

5y agoHN ↗

Note that RIAA is making this takedown because the software CAN be used to download copyrighted music and videos

Well, then please also Block all Browsers, SSH, Tunnel, etc. too, because you can use those too to easily download copyrighted material.

5y agoHN ↗

this is honestly the first Hacker News article in a few years that made me yell at my computer. pure insanity.

5y agoHN ↗

It's the same for me. Computers, networks, and mice are all used by "criminals" to download copyrighted material without permission, I'm not sure how youtube-dl is any different. I think github simply doesn't want to fight this because basically they weren't making any money off youtube-dl, so they took it down. They'll pry my trackball mouse from my cold-dead hand though. F the RIAA and MPAA.

5y agoHN ↗

I'm going with that this whole thread is extremely astroturfed and that the shills are out in full force. For the sake of my own sanity. FUCK the RIAA.

5y agoHN ↗

why would youtube-dl reference copyrighted material as examples in their documentation/website.... doh!

5y agoHN ↗

Or host their project on a site owned by a media company (as Microsoft has been in the past)

5y agoHN ↗

Discussion elsewhere: test suite addressed specific edge / problem cases.

5y agoHN ↗

So if you did not fork youtube-dl but instead had cloned it, changed the repo to be the private nootube-dl and pushed it there - would github detect it was the same code and also take it down?

5y agoHN ↗

Yeah I’m interested to know too. Let’s hope not, it would be really 1984

5y agoHN ↗

I have Linux and Windows binaries.

If anyone wants them, feel free to shoot me an email.

5y agoHN ↗

I don’t follow, the argument seems to be along the lines of:

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.

5y agoHN ↗

Why do I always find out about cool and useful things as soon as they are about to be shut down? ;-(

5y agoHN ↗

Can someone PM me the location of a repo that still has this up somewhere? I might be able to clone it and host it.

5y agoHN ↗

Also note that forking a repository on github is not enough to make it your code.

All the connected forks have also been disabled. Better to clone and re-push if you ask me.

5y agoHN ↗

Radicle[1] can't come soon enough. Git already works over I2P[2] (TOR alternative) btw ;)

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/

[2]: https://geti2p.net/en/docs/applications/git

5y agoHN ↗

I would like to add to the discussion that there are many perfectly legal uses of YoutubeDL:

* 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`

5y agoHN ↗

what stops somebody from just screen recording your material?

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.

5y agoHN ↗

The end game is every device having a watermark detector.

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.

5y agoHN ↗

Here's what you can do:

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.

5y agoHN ↗

This isn't really much of a help. There is no danger of losing access to the archive; it's popular enough that's it's essentially impossible to wipe from the internet. The issue is that now there is no central place where developers can pool their efforts to keep the code working. And it does need constant updates to address changes in the websites it downloads from.

5y agoHN ↗

Can't I just FORK it and change the Readme and/or tests to not include references to what could be constituted as infringing acts, and purposely state that the purpose of MY FORK is to download YouTube videos that are in the public domain?

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?

5y agoHN ↗

You can use Chrome to download from Youtube - you just need to know the temporary URL. One way to get this is to play the Youtube video in VLC - the media information window will tell you the temporary URL, and then you can use Chrome to download the content. So maybe the RIAA should issue a takedown request against the company that makes Chrome?

5y agoHN ↗

What does it matter if I watch a song on YouTube or just dl the video. Mp4 and watch it, The riaa might say the reasons the videos are on YouTube is they promote the artist like old videos on MTV and someone gets paid ad revenue , In theory someone could just use a pc dl 1000s of videos put em on a pc and avoid watching ads Also video streams count to get a song in the charts and the riaa employs lawyers so they have to do something to justify their wages even if it will have no effect on the music marketplace or the behavior of the average music fan

5y agoHN ↗

Courts have ruled betamax Vcrs were legal, its legal to record tv shows and movies to watch them at a later date. Even though in theory Vcrs could be used for the purposes of piracy. Just because a device might be used to pirate content does not mean its can be banned. Like bittorrent is used by many non profits to distribute Open source software like Linux distro iso, s

5y agoHN ↗

Even if the examples in the source code point to the code as deliberately enabling copyright infringement, I thought the DMCA takedown process was for actual copywritten content. Even if they are found, in a napster-like way, to be "illegal", it doesn't seem like a DMCA takedown notice is a valid mechanism to enforce the law here.

5y agoHN ↗

Anybody has a fork on the dark web we can all start using? (tor, i2p, whatever)

5y agoHN ↗

I doubt there will be many pro-RIAA perspectives here so as someone familiar with their leadership and goals, I might as well add some perspective.

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?

5y agoHN ↗

Your proprietary code analogy is incredibly weird. Why would anyone need gofyourself-dl to download your container code? And what does Google have to do with the creation of youtube-dl, which is used to download stuff hosted on Google's website? And you talked about publishing code, but where does youtube-dl publish the videos it downloads? Or are you just implying that not executing all of Google's code and not watching a gazillion ads to download and view videos is some sort of "theft of IP"? Or is it that youtube-dl doesn't automatically delete the video after watching? I seriously don't get it.

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?

5y agoHN ↗

Unless the RIAA is actually going to take the owner of youtube-dl's domain to court, there's nothing (for now) stopping yt-dl from setting up another development platform of some sort. DMCA takedowns are cause for concern but they're not quite the be all and end all of a dispute.

5y agoHN ↗

So... what is going to happen to youtube-dl? Will it get renamed considering it supports ~1155 websites (based on docs/supportedsites.md)? If it does get renamed, how are we going to know its name? Where do the developers going to push their changes, where is the development being continued?! Fuck everyone who complies with such retarded laws. Corruption is sometimes good, in cases such as these. :)

5y agoHN ↗

Does YouTube embed any copyright metadata on the videos? An improved product could check for that first and prompt the user with a legal confirmation that they have the right to download the content if it was marked as copyrighted.

5y agoHN ↗

Stuff like this is why I consider it unethical to pay for recorded music, unless distributed directly by the artist. Haven't bought music from a major distributor since I was a teenager.

I don't want my money funding this sort of overreaching censorship.

5y agoHN ↗

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?

5y agoHN ↗

Yes. And since Microsoft and the RIAA are both in the contrived/artificial scarcity business, it’s pretty obvious to me what it’s going to be.

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.

5y agoHN ↗

it’s pretty obvious to me what it’s going to be8

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.

5y agoHN ↗

Agreed, I'm interested to see if there is any merit to the new Microsoft hearts open source.

5y agoHN ↗

There is a lot of CC0 content on youtube that exists so you can download it, like stock video, sounds, background videos etc. How are we going to dowload those now?

Also couldn't the youtub-dl team claim that the whole "drm video download test" was a security test?

5y agoHN ↗

Tldr all these comments - youtube dl got in trouble because they link to copyrighted material in the readme which from a legal perspective shows intent to circumvent copyright. If they had just linked to videos they had uploaded themselves as examples everything would be fine.

5y agoHN ↗

I just installed it from archive.org using the url homebrew uses. It's a simple matter to run brew install -d youtube-dl plug the url that into archive.org, download the archive, cp it to the dl location (minus the .incomplete) that brew expects, and then run it again without the -d so it thinks it is already downloaded.

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.

5y agoHN ↗

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.

-- /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

5y agoHN ↗

Most of the comments so far are ignoring the bigger picture: this isnt something new, its just the RIAA playing whack-a-mole with the DMCA hammer. Theyve been doing it for 20 years, and in those 20 years the most they have managed to accomplish is building a better, more resilient mole.

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.

5y agoHN ↗

So, according to the RIAA's claim, it's

(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.

5y agoHN ↗

Welcome to the USA where the court system isn't about the law or justice. It's about who has the most money and resources to win a war of attrition in court.

5y agoHN ↗

So it looks like the takedown notice has nothing to do with the actual developer of youtube-dl. I.e., the developer could distribute their code somewhere else and the RIAA would be left playing whack-a-mole.

5y agoHN ↗

I guess it was only a matter of time, the more popular it became. I have Youtube Premium and still use this utility every day for legitimate reasons (converting talk videos to audio file that I can listen to offline). Sad day for youtube-dl but I expect there will be many contenders to fill the void.

5y agoHN ↗

I tried cloning the various forks mentioned in these threads. Summarized, I did this:

  $ 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??).

5y agoHN ↗

"We have a good faith belief that this activity is not authorized by the copyright owner, its agent, or the law. We assert that the information in this notification is accurate, based upon the data available to us." Quick call Pop, Timberlake, and Swift to end this!

5y agoHN ↗

Thanks to this takedown, hundreds of thousands of people will find out they can actually _download_ YT videos. Thanks, RIAA!

5y agoHN ↗

I can also use OBS or a Google Pixel to capture material from youtube but I don't see anyone going after them

5y agoHN ↗

Give it time for OBS. Google are safe of course, they're a large corporation, the law doesn't apply to corporations.

5y agoHN ↗

Sad but true! At least at the OBS level, it's an application running on an operating system instead of in a browser controlled by a corporation (ok Windows is becoming more walled too...)

5y agoHN ↗

The extractors directory had 765 extractors in it, only one of which is YouTube. The facts seem cherry-picked to support their case (well duh). Hopefully that will matter. Given that youtube is a tenth of a percent of the extractors maybe there's hope.

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. ;)

5y agoHN ↗

Even if YouTube was the only extractor, it shouldn't make a lick of difference - not everything on YouTube is owned by the RIAA as they'd like to believe!

5y agoHN ↗

Considering YouTube allows Creative-Commons licensed videos[0], how exactly do they suggest we "reuse and edit" videos, as per their own documentation? I'm not seeing any "Download video" button on a CC-licensed video's page, so... am I missing something here, or is one not forced to use a 3rd-party video download utility like youtube-dl to actually "reuse and edit" a CC-licensed video?

[0] https://support.google.com/youtube/answer/2797468?hl=en

5y agoHN ↗

Even if youtube-dl doesn't get re-hosted on GitHub, is it likely that it will show up again on another site such as GitLab or a self-hosted repo by the maintainer?

5y agoHN ↗

ZDNet reports this is part of a larger action:

"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...

5y agoHN ↗

Delenda RIAA

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.

5y agoHN ↗

Originally 28 years in the US, perpertual but voluntary in the UK.

5y agoHN ↗

Abolish copyright

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?

[1] https://en.wikipedia.org/wiki/SAG-AFTRA

5y agoHN ↗

Strange that email made it through. I delete any email in my inbox that begins with: Dear Sir or Madam as it looks like spam.

5y agoHN ↗

Super surprising that software like this could exist in the legal space and with known creators. I mean, it's obviously a pirating app, it makes every effort to circumvent download protection right?

5y agoHN ↗

It just takes a video stream and saves it. There is no DRM bypassing or anything

5y agoHN ↗

No it's not at all. It's infrastructure.

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

5y agoHN ↗

I’m so glad that Github is owned by Microsoft and that they don’t immediately comply with the takedown... /sarcasm

5y agoHN ↗

Where can I clone the youtube-dl repo, err.. for educational purposes?

5y agoHN ↗

Does a DMCA takedown usually use phrasing “we ask that you do XYZ”?

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”

5y agoHN ↗

Maybe it is time to host the project outside of the US?

5y agoHN ↗

Where can I find youtube-dl now?

I'm ready to be a sponsor for the project to live further.

5y agoHN ↗

Search in this thread (across multiple pages), a number of people have posted mirrors. You can clone, rehost, and share.

It would be ironic if this backfires on them because of the Streisand effect.

5y agoHN ↗

This fight against software is growing into bizarre forms. What's next? cURL?

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.

5y agoHN ↗

I sometimes imagine how wonderful it'd be if there were a viable alternative to the Web that is decentralized and infeasible to censor, only to realize that how great it is for the freedom, is the exact reason why it doesn't exist. It's just too inconvenient for those in power. That might be why Tor was funded by the government. Its primary functionality is to strengthen the existing Web, rather than to be some competing force to the Web.

5y agoHN ↗

Ahh, centralized version control. Such a good idea.

5y agoHN ↗

Anyone working on ytdl will have a full copy of the history at home, undisturbed, so distribution is working as it should. There is no single point of failure.

5y agoHN ↗

Then why does the takedown matter? See, the infrastructure still revolves around one master repository.

5y agoHN ↗

Some time in the last few hours the devs have updated their site (https://youtube-dl.org/) with a notice about the takedown and removed the broken github links. You can now download the latest executables again. I'm looking forward to seeing their new home.

5y agoHN ↗

I guess this means Brew formula for youtube-dl stops working - mines already installed and I'm not uninstalling to check but it's interesting.

5y agoHN ↗

I can't find reference to who is going to defend this? Is EFF going to pick it up? Can we donate?

5y agoHN ↗

So recently I asked if Unix v6 is the "To Kill a Mockingbird" of computer science, then what is the Huckleberry Finn. Ref: https://news.ycombinator.com/item?id=24856047

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).

5y agoHN ↗

The more I look at the RIAA's complaint, the stranger it seems.

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

5y agoHN ↗

That won't make much of a difference since both are American companies.

5y agoHN ↗

The latest version is: 2020.09.20, yes? I already grabbed the source code days ago, but forgot the grab the Windows binary. Anyone keep the binary, or perhaps simply have to compile it?

:D

5y agoHN ↗

Have we heard anything from the youtube-dl developers yet? Have they made some sort of statement? Are they really going to get sued? Is it possible to support them (other than through the EFF: https://eff.org/donate/)?

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.)

5y agoHN ↗

We need a rouge git server.

Like silk road but for your open source fixes...

5y agoHN ↗

I have created the youtube-dl 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.

5y agoHN ↗

...and I always though youtube-dl was the tool someone built so that Youtube was in compliance with the GDPA and let us export our videos ;-)

scnr

5y agoHN ↗

Very pathetic that Github took this repository down. I was about to move our company code over to Github from self hosted Gitlab, this move has put the a the brakes on that.

5y agoHN ↗

Damn this sucks. Luckily I just recovered a tar from the homebrew cache with the source code. Lets hope someone will create a creative-commons-dl or something soon.

5y agoHN ↗

I remember during the Napster days dressing up as an RIAA agent for Halloween, with combat gear and a blowtorch to burn CDs

5y agoHN ↗

Saw this coming. We are working on https://dgit.sh for the last couple of months. Dgit is a decentralized code collaboration platform where we harness the power of git for versioning and arweave blockchain for permanent data storage. We also have a Dgit community on https://community.xyz where the stakeholders take all decisions transparently via a vote. Dgit will be available for use after its launch on 2nd November. If you are interested in what we are doing feel free to join our discord and chat with us https://bit.ly/dgitchat

5y agoHN ↗

This was bound to happen with proprietary services like GitHub. It's better to use self-hostable services like GitLab & Gitea, where we can have regular backups of everything - code, issues and any other metadata. So, the service can be up shortly.

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.

5y agoHN ↗

BTW, I just installed it using `choco install youtube-downloader`. Nice to have while they don't find a new location.

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?

5y agoHN ↗

Just a couple of days ago, I replied[0] to a comment about how the RIAA/MPAA won. Looks like I was right. They just made peace with youtube and now have them enforce their rights, despite the silliness of this "takedown"

5y agoHN ↗

This is going to be difficult to find the authors' comments if there are any. I am still curious where will the development continue because downloading from YouTube often breaks and requires some fixing, i.e. update youtube-dl and it works! :/

5y agoHN ↗

Even Google Research themselves use youtube-dl when assembling computer vision datasets. The only way to work on their data and reproduce the results is through youtube-dl, as video datasets are often only distributed as URLs and timestamps, and even the example codes use youtube-dl.

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.

5y agoHN ↗

There are multiple extensions in Google's own Android Chrome stores for downloading videos from YouTube and everyone else. I just used a few to download and HLS stream that was having severe buffering issues.

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.

5y agoHN ↗

I'll download what I want, when I want.

5y agoHN ↗

I'd think the RIAA and Google are well acquainted with the Streisand effect by now... I'm just hoping the takedown will prompt a whole bunch of people to contribute to youtube-dl out of spite, as I know it had been lagging behind due to simply not having enough contributors. I'd even go ahead and throw down the glove.

5y agoHN ↗

I used YouTube-dl to watch videos, not to download and store them.

Are user-agents illegal now?

5y agoHN ↗

If you still have youtube-dl on your system (at least the version distributed on homebrew) your youtube-dl file is compressed. You can get the full source code by chopping the shebang line off the top and unzipping the file.

5y agoHN ↗

This is just the next terrifying development on Planet China. YouTube-dl went unmolested for years. About week ago, I was party to an online conversation a week ago about how youtube-dl is an important tool for archiving videos of public officials before they can be disappeared.

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...

5y agoHN ↗

I've been hoarding significant YouTube channels for years, at a cost of many terabytes of HDD space. Even though they were always available for free, I was always betting on the fact that YouTube's status as being incredibly easy to archive would not last forever.

I feel vindicated, but also sad that the end of this particular era has finally arrived :(

5y agoHN ↗

You could use your rifle/pistol/firearm to shoot unlawful transpasser, but since it's also able to shoot down innocent children in our neighborhood, please cease and desist.

5y agoHN ↗

So what's the latest update on it. Did they counter claim? Did anyone set up a fork repo?

5y agoHN ↗

This is a heavy blow for the community, regardless of where forks show up.

5y agoHN ↗

They should take down all browsers and Internet we can use it too download stuff... this is so stupid. Don't want your stuff to be downloaded, don't put it online.

5y agoHN ↗

RIAA is outta pocket, tell em to eat your ass

5y agoHN ↗

Let them pay to take you to court—

5y agoHN ↗

Music industry died when distribution changed, just die already