From: Sergey M․ Date: Sat, 13 Sep 2014 15:07:09 +0000 (+0700) Subject: [drtv] Fix _VALID_URL (Closes #3735) X-Git-Url: http://git.oshgnacknak.de/?a=commitdiff_plain;h=e5a93354bc6df76ed07c2e77a68203374b7ddf5b;p=youtube-dl [drtv] Fix _VALID_URL (Closes #3735) --- 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[\da-z-]+)' + _VALID_URL = r'http://(?:www\.)?dr\.dk/tv/se/(?:[^/]+/)+(?P[\da-z-]+)(?:[/#?]|$)' _TEST = { 'url': 'http://www.dr.dk/tv/se/partiets-mand/partiets-mand-7-8',