mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-17 15:25:49 +00:00
[zdf] expand valid-url pattern for channels
The webpage also creates URLs which include additional text that defines the sorting order on the page like "aktuellste" (most current) and "meist-gesehen" (most seen), e.g.: http://www.zdf.de/ZDFmediathek/kanaluebersicht/aktuellste/332 http://www.zdf.de/ZDFmediathek/kanaluebersicht/meist-gesehen/332
This commit is contained in:
parent
8a609c32fd
commit
e41604227c
@ -131,7 +131,7 @@ def _real_extract(self, url):
|
|||||||
|
|
||||||
|
|
||||||
class ZDFChannelIE(InfoExtractor):
|
class ZDFChannelIE(InfoExtractor):
|
||||||
_VALID_URL = r'(?:zdf:topic:|https?://www\.zdf\.de/ZDFmediathek(?:#)?/.*kanaluebersicht/)(?P<id>[0-9]+)'
|
_VALID_URL = r'(?:zdf:topic:|https?://www\.zdf\.de/ZDFmediathek(?:#)?/.*kanaluebersicht/(?:(?:aktuellste|meist-gesehen)/)?)(?P<id>[0-9]+)'
|
||||||
_TEST = {
|
_TEST = {
|
||||||
'url': 'http://www.zdf.de/ZDFmediathek#/kanaluebersicht/1586442/sendung/Titanic',
|
'url': 'http://www.zdf.de/ZDFmediathek#/kanaluebersicht/1586442/sendung/Titanic',
|
||||||
'info_dict': {
|
'info_dict': {
|
||||||
|
Loading…
Reference in New Issue
Block a user