-
Notifications
You must be signed in to change notification settings - Fork 10.2k
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
[neomagazin] Add new extractor #13639
Conversation
youtube_dl/extractor/neomagazin.py
Outdated
video_id = self._match_id(url) | ||
webpage = self._download_webpage(url, video_id) | ||
|
||
title = self._meta_regex('description') |
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.
This is regex.
youtube_dl/extractor/neomagazin.py
Outdated
|
||
title = self._meta_regex('description') | ||
|
||
zdf_id = self._search_regex(r'(?s)data-sophoraid=(["\'])(?P<id>.*?)\1', webpage, 'player id', group='id') |
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.
Empty capture does not make any sense.
youtube_dl/extractor/neomagazin.py
Outdated
from .common import InfoExtractor | ||
|
||
|
||
class NeoMagazinIE(InfoExtractor): |
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.
Move to zdf.py
.
This doesn't work since the flag is always present as long as the video is geoblocked in any country.
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
Adds new extractor to support direct links from neo-magazin-royale.de. Passes the video id to the ZDF extractor. Fixes #13473