From: Sergey M․ Date: Sat, 30 Apr 2016 20:54:39 +0000 (+0600) Subject: [tagesschau] Relax _VALID_URL X-Git-Url: http://git.oshgnacknak.de/?a=commitdiff_plain;h=fc35cd9e0c7ec88fedd90880dea23d593fed85ee;p=youtube-dl [tagesschau] Relax _VALID_URL --- diff --git a/youtube_dl/extractor/tagesschau.py b/youtube_dl/extractor/tagesschau.py index ebd81eadc..fcccb230c 100644 --- a/youtube_dl/extractor/tagesschau.py +++ b/youtube_dl/extractor/tagesschau.py @@ -8,7 +8,7 @@ from ..utils import parse_filesize class TagesschauIE(InfoExtractor): - _VALID_URL = r'https?://(?:www\.)?tagesschau\.de/multimedia/(?:[^/]+/)*?[^/#?]+?(?P-?[0-9]+)(?:~_[^/#?]+?)?\.html' + _VALID_URL = r'https?://(?:www\.)?tagesschau\.de/multimedia/(?:[^/]+/)*?[^/#?]+?(?P-?[0-9]+)(?:~_?[^/#?]+?)?\.html' _TESTS = [{ 'url': 'http://www.tagesschau.de/multimedia/video/video-102143.html', @@ -61,6 +61,9 @@ class TagesschauIE(InfoExtractor): }, { 'url': 'http://www.tagesschau.de/multimedia/video/video-102303~_bab-sendung-211.html', 'only_matching': True, + }, { + 'url': 'http://www.tagesschau.de/multimedia/video/video-179517~player.html', + 'only_matching': True, }] _FORMATS = {