Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
[ADN] Unable to extract player config #20549
Comments
|
@remitamine Could you gimme the link of the duplicate topic ? Didn't found anything about that before. Thanks. |
|
|
|
It's the same error for you ? He can download something instead of me, can't even get the page download. |
|
ok, same error happen for free videos so this is caused by a new change in the website.
|
|
My script to beautify the JS code doesn't work anymore
Any idea? |
|
replace: with urllib.request.urlopen('https://animedigitalnetwork.fr/components/com_vodvideo/videojs/adn-vjs.min.js') as adn_min:with: with urllib.request.urlopen(urllib.request.Request('https://animedigitalnetwork.fr/components/com_vodvideo/videojs/adn-vjs.min.js', headers={'User-Agent': 'Mozilla/5.0 (X11; Linux x86_64; rv:67.0) Gecko/20100101 Firefox/67.0'})) as adn_min: |
|
b966740 didn't fix anything for me.
|
|
you're not using the latest commit:
|
|
My way of do was bad, sorry for the disruption. |
|
@remitamine If the key is not automatically changed every day in the extractor, it will not work. So the new youtube-dl version (2019-04-07) doesn't work. |
|
this is expected, obviously i'm not going to update the key daily, i don't even use the website, that's why I have explained how to get a new key at #12724. |
|
@remitamine I've send you by mail something to update automatically the key inside of the adn.py file a few days ago, this is not possible to commit it addition of the adn.py file ? EDIT: I've send you the updated version from the new extractor. |
|
there are security concerns about executing arbitrary js code with Node.js, that's why this solution can't be included. |
Surely there's a way to restrict the JS' abilities so it doesn't do something bad ? |
|
I didn't check on this, but in my opinion, the prefered way would be to use the API to extract the raw WebVTT subtitles. |
Please follow the guide below
xinto all the boxes [ ] relevant to your issue (like this:[x])Make sure you are using the latest version: run
youtube-dl --versionand ensure your version is 2019.04.01. If it's not, read this FAQ entry and update. Issues with outdated version will be rejected.Before submitting an issue make sure you have:
What is the purpose of your issue?
The following sections concretize particular purposed issues, you can erase any section (the contents between triple ---) not applicable to your issue
If the purpose of this issue is a bug report, site support request or you are not completely sure provide the full verbose output as follows:
Add the
-vflag to your command line you run youtube-dl with (youtube-dl -v <your command line>), copy the whole output and insert it here. It should look similar to one below (replace it with your log inserted between triple ```):If the purpose of this issue is a site support request please provide all kinds of example URLs support for which should be included (replace following example URLs by yours):
Note that youtube-dl does not support sites dedicated to copyright infringement. In order for site support request to be accepted all provided example URLs should not violate any copyrights.
Description of your issue, suggested solution and other information
Everything is there, you can't do anything even if you are logged with a subscribed account, it will crash when youtube-dl is downloading the webpage.
EDIT: By the way, if you could add an .ass extractor with custom styles instead of .srt would be nice.