New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(ADN): Add German variant and season downloads #8708
Conversation
yt_dlp/extractor/adn.py
Outdated
'url': 'https://animationdigitalnetwork.de/video/tokyo-mew-mew-new/19818-folge-1', | ||
'info_dict': { | ||
'id': '19818', | ||
'ext': 'mp4', | ||
'episode_number': 1, | ||
'duration': 1429, | ||
}, | ||
'skip': 'Only available in region (FR, ...)', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Try running the test locally after commenting out skip
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Currently the test fails even when running it from Germany. The German site is still under contrsuction and some stream variants (namely mobile and sd quality) are not yet available. This leads to a runtime error. I'll try again from time to time and adjust the test accordingly.
test is not yet working due to the German site still being under construction
The German site is still under contrsuction and some stream variants (namely mobile and sd quality) are not yet available. Will keep this as a draft until the German site is working. |
extractor args not needed add base class
German site is still in beta, but it works now (at least for some episodes). This means I was able to successfully run the tests locally. |
use f-strings add headers to all requests move language to url regex resolves yt-dlp#8945 resolves yt-dlp#6643
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For the future, please don't force push.
- Add extractor for seasons Closes yt-dlp#6643, Closes yt-dlp#8945 Authored by: infanf
IMPORTANT: PRs without the template will be CLOSED
Description of your pull request and other information
Add support for the newly launched German site. The German site is accessible from DE, AT, CH, LI, LU under animationdigitalnetwork.de (instead of .fr). Backend API is the same as on the French site.
German site provides German subtitles and dubs (currently none available).
And while I'm at it, might as well add season download support as requested in #6643
Template
Before submitting a pull request make sure you have:
In order to be accepted and merged into yt-dlp each piece of code must be in public domain or released under Unlicense. Check all of the following options that apply:
What is the purpose of your pull request?