diff options
author | Sergey M․ <dstftw@gmail.com> | 2014-09-13 22:07:09 +0700 |
---|---|---|
committer | Sergey M․ <dstftw@gmail.com> | 2014-09-13 22:07:09 +0700 |
commit | e5a93354bc6df76ed07c2e77a68203374b7ddf5b (patch) | |
tree | 945d06315aaa5b5f7e4bb23a06c3fbe2293c87a3 /youtube_dl/extractor/drtv.py | |
parent | ceff3fd8ef8d22df88cee55b6e4a9f783c3dd8cb (diff) |
[drtv] Fix _VALID_URL (Closes #3735)
Diffstat (limited to 'youtube_dl/extractor/drtv.py')
-rw-r--r-- | youtube_dl/extractor/drtv.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/drtv.py b/youtube_dl/extractor/drtv.py index cdccfd376..9d6ce1f48 100644 --- a/youtube_dl/extractor/drtv.py +++ b/youtube_dl/extractor/drtv.py @@ -8,7 +8,7 @@ from ..utils import parse_iso8601 class DRTVIE(SubtitlesInfoExtractor): - _VALID_URL = r'http://(?:www\.)?dr\.dk/tv/se/[^/]+/(?P<id>[\da-z-]+)' + _VALID_URL = r'http://(?:www\.)?dr\.dk/tv/se/(?:[^/]+/)+(?P<id>[\da-z-]+)(?:[/#?]|$)' _TEST = { 'url': 'http://www.dr.dk/tv/se/partiets-mand/partiets-mand-7-8', |