diff options
author | Sergey M․ <dstftw@gmail.com> | 2020-12-12 04:27:25 +0700 |
---|---|---|
committer | Sergey M․ <dstftw@gmail.com> | 2020-12-12 04:27:25 +0700 |
commit | 22933e02d402a4d9d5d5fa55c19166df760d3b25 (patch) | |
tree | c166a2a1bfd5b1fff39dabaedb9403f97f6a3537 | |
parent | 98a62d7cbd57c546871eb47460efc5eb95aec874 (diff) |
[wdr:page] Add support for kinder.wdr.de (closes #27350)
-rw-r--r-- | youtube_dl/extractor/wdr.py | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/youtube_dl/extractor/wdr.py b/youtube_dl/extractor/wdr.py index cf6f7c7ed..ba97d983b 100644 --- a/youtube_dl/extractor/wdr.py +++ b/youtube_dl/extractor/wdr.py @@ -105,7 +105,7 @@ class WDRIE(InfoExtractor): class WDRPageIE(InfoExtractor): _CURRENT_MAUS_URL = r'https?://(?:www\.)wdrmaus.de/(?:[^/]+/){1,2}[^/?#]+\.php5' _PAGE_REGEX = r'/(?:mediathek/)?(?:[^/]+/)*(?P<display_id>[^/]+)\.html' - _VALID_URL = r'https?://(?:www\d?\.)?(?:wdr\d?|sportschau)\.de' + _PAGE_REGEX + '|' + _CURRENT_MAUS_URL + _VALID_URL = r'https?://(?:www\d?\.)?(?:(?:kinder\.)?wdr\d?|sportschau)\.de' + _PAGE_REGEX + '|' + _CURRENT_MAUS_URL _TESTS = [ { @@ -212,7 +212,11 @@ class WDRPageIE(InfoExtractor): { 'url': 'http://www.sportschau.de/handballem2018/audio-vorschau---die-handball-em-startet-mit-grossem-favoritenfeld-100.html', 'only_matching': True, - } + }, + { + 'url': 'https://kinder.wdr.de/tv/die-sendung-mit-dem-elefanten/av/video-folge---astronaut-100.html', + 'only_matching': True, + }, ] def _real_extract(self, url): |