summary refs log tree commit diff
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2016-05-01 02:54:39 +0600
committerSergey M․ <dstftw@gmail.com>2016-05-01 02:56:32 +0600
commitfc35cd9e0c7ec88fedd90880dea23d593fed85ee (patch)
tree0c9512671872e00224f96a463566a29be3fd66d9
parent339fe7228ae149db9fc163c94bef168f65a0a775 (diff)
downloadyoutube-dl-fc35cd9e0c7ec88fedd90880dea23d593fed85ee.tar.gz
youtube-dl-fc35cd9e0c7ec88fedd90880dea23d593fed85ee.tar.xz
youtube-dl-fc35cd9e0c7ec88fedd90880dea23d593fed85ee.zip
[tagesschau] Relax _VALID_URL
-rw-r--r--youtube_dl/extractor/tagesschau.py5
1 files changed, 4 insertions, 1 deletions
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<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 = {