aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor
diff options
context:
space:
mode:
authorBoris Wachtmeister <boris-code@gmx.com>2015-12-24 08:27:25 +0100
committerSergey M․ <dstftw@gmail.com>2015-12-24 20:39:37 +0600
commite41604227ce14ded0b87385a17490bfa65d35fde (patch)
treeac6faf42b013ea1eb0244faf2a17d14d32723591 /youtube_dl/extractor
parent8a609c32fdf8d99f7c868c74d64a05d9a936044d (diff)
[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
Diffstat (limited to 'youtube_dl/extractor')
-rw-r--r--youtube_dl/extractor/zdf.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/zdf.py b/youtube_dl/extractor/zdf.py
index a795f56b3..b581813d6 100644
--- a/youtube_dl/extractor/zdf.py
+++ b/youtube_dl/extractor/zdf.py
@@ -131,7 +131,7 @@ class ZDFIE(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 = {
'url': 'http://www.zdf.de/ZDFmediathek#/kanaluebersicht/1586442/sendung/Titanic',
'info_dict': {