[tagesschau] Relax _VALID_URL
authorSergey M․ <dstftw@gmail.com>
Sat, 30 Apr 2016 20:54:39 +0000 (02:54 +0600)
committerSergey M․ <dstftw@gmail.com>
Sat, 30 Apr 2016 20:56:32 +0000 (02:56 +0600)
youtube_dl/extractor/tagesschau.py

index ebd81eadcfad229c76f13bd830d5fec04c7459b7..fcccb230c875f1935b27369a1f2c3f61a1df63d2 100644 (file)
@@ -8,7 +8,7 @@ from ..utils import parse_filesize
 
 
 class TagesschauIE(InfoExtractor):
-    _VALID_URL = r'https?://(?:www\.)?tagesschau\.de/multimedia/(?:[^/]+/)*?[^/#?]+?(?P<id>-?[0-9]+)(?:~_[^/#?]+?)?\.html'
+    _VALID_URL = r'https?://(?:www\.)?tagesschau\.de/multimedia/(?:[^/]+/)*?[^/#?]+?(?P<id>-?[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 = {