aboutsummaryrefslogtreecommitdiffstats
path: root/youtube_dl/extractor/tagesschau.py
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 /youtube_dl/extractor/tagesschau.py
parent339fe7228ae149db9fc163c94bef168f65a0a775 (diff)
downloadyoutube-dl-fc35cd9e0c7ec88fedd90880dea23d593fed85ee.zip
youtube-dl-fc35cd9e0c7ec88fedd90880dea23d593fed85ee.tar.gz
youtube-dl-fc35cd9e0c7ec88fedd90880dea23d593fed85ee.tar.bz2
[tagesschau] Relax _VALID_URL
Diffstat (limited to 'youtube_dl/extractor/tagesschau.py')
-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 ebd81ea..fcccb23 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 = {