-
Notifications
You must be signed in to change notification settings - Fork 10k
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
[ADN] Fix #27732
[ADN] Fix #27732
Conversation
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.
does this fix only related to downloading the video, or does it fix subtitles downloading as well?
youtube_dl/extractor/adn.py
Outdated
if links_data is None: | ||
raise ExtractorError('Giving up retrying') | ||
|
||
if links_data.get('code') == 'player-bad-geolocation-country': |
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.
add an only_matching
test for this case.
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.
Afaik everything's not available in Germany. Definitely the existing _TEST.
Thanks for the thorough review! This does not address the subtitles situation. |
aee3ea9
to
d0f68c4
Compare
Do you want to be credited as one of the authors of youtube-dl? If so under what name? |
Sure, thank you :) That would be »Adrian Heine«. |
Please follow the guide below
x
into all the boxes [ ] relevant to your pull request (like that [x])Before submitting a pull request make sure you have:
In order to be accepted and merged into youtube-dl each piece of code must be in public domain or released under Unlicense. Check one of the following options:
What is the purpose of your pull request?
Description of your pull request and other information
Closes #26963. The extractor doesn't work at all currently.