Browse Source

[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
totalwebcasting
Boris Wachtmeister 9 years ago
committed by Sergey M․
parent
commit
e41604227c
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      youtube_dl/extractor/zdf.py

+ 1
- 1
youtube_dl/extractor/zdf.py View File

@ -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': {


Loading…
Cancel
Save