Skip to content

Commit

Permalink
[tagesschau] Relax _VALID_URL
Browse files Browse the repository at this point in the history
  • Loading branch information
Sergey M․ committed Apr 30, 2016
1 parent 339fe72 commit fc35cd9
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion youtube_dl/extractor/tagesschau.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@


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',
Expand Down Expand Up @@ -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 = {
Expand Down

0 comments on commit fc35cd9

Please sign in to comment.