Stories
Slash Boxes
Comments

SoylentNews is people

posted by Fnord666 on Saturday October 24 2020, @04:10AM   Printer-friendly
from the bound-to-happen dept.

https://news.ycombinator.com/item?id=24872911
https://old.reddit.com/r/youtubedl/comments/jgttnc/youtubedl_github_repository_disabled_due_to_a/
https://github.com/github/dmca/blob/master/2020/10/2020-10-23-RIAA.md

Now when you go to their site, it reads:

Repository unavailable due to DMCA takedown.

This repository is currently disabled due to a DMCA takedown notice. We have disabled public access to the repository. The notice has been publicly posted.

If you are the repository owner, and you believe that your repository was disabled as a result of mistake or misidentification, you have the right to file a counter notice and have the repository reinstated. Our help articles provide more details on our DMCA takedown policy and how to file a counter notice. If you have any questions about the process or the risks in filing a counter notice, we suggest that you consult with a lawyer.

Also at 9to5Google

[2020-10-25 01:01:09 UTC: Updated title to more accurately reflect notice was given to GitHub, not to youtube-dl. --martyb]


Original Submission

 
This discussion has been archived. No new comments can be posted.
Display Options Threshold/Breakthrough Mark All as Read Mark All as Unread
The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
  • (Score: 3, Informative) by canopic jug on Saturday October 24 2020, @01:24PM (2 children)

    by canopic jug (3949) Subscriber Badge on Saturday October 24 2020, @01:24PM (#1068228) Journal

    At least for Youtube, that utility seems to either scrape or use an unstable API for fetching the videos. I haven't looked at the source, but it is one or the other. So while the current code works now, it will only continue to work for some days or weeks or maybe months until Google breaks the brittle scraper or changes the API, again. At which point the source will have to be tweaked and the changes propagated out to the various distros and other packagers.

    --
    Money is not free speech. Elections should not be auctions.
    Starting Score:    1  point
    Moderation   +1  
       Informative=1, Total=1
    Extra 'Informative' Modifier   0  
    Karma-Bonus Modifier   +1  

    Total Score:   3  
  • (Score: 3, Interesting) by Zinnia Zirconium on Saturday October 24 2020, @09:51PM

    by Zinnia Zirconium (11163) on Saturday October 24 2020, @09:51PM (#1068352) Homepage Journal

    I have read the source and it's both scraping and undocumented API. Seems to break monthly in my experience.

  • (Score: 0) by Anonymous Coward on Saturday October 24 2020, @11:04PM

    by Anonymous Coward on Saturday October 24 2020, @11:04PM (#1068365)

    They use a JavaScript interpreter for YouTube and other websites. 'from ..jsinterp import JSInterpreter' being the key import. They parse the JavaScript code downloaded from the site, extract the variables and json data, evaluate it using a mapping of operators, and then return that as Python objects. One thing different websites do is constantly push out changes to the code. Most of them don't change the result but every so often the element name changes, or the new URL misses a regex, or algorithm changes enough that they get caught.

    And that is where the real power of this DMCA notice comes in. If you read it, they also characterize the tool as an anti-circumvention tool in addition for one to enable piracy. The reason is the interpreters. The tool isn't accessing the videos in the intended manner. Instead, it is circumventing it using the interpretation engines and arguable circumventing the protections put in place to protect the videos. True, it is different from the precedents of DeCSS and similar that use stolen keys and libdvdcss and similar that brutes keys, in that it is evaluating JS provided to it using key data provided to it in a way analogous but not identical to the intended user agent. The real question is whether that is legally close enough. And I expect the EFF to chime in eventually on that question with a better analysis.