From: Sergey M․ Date: Fri, 30 Jan 2015 16:42:11 +0000 (+0600) Subject: [drtv] Improve _VALID_URL (#4814) X-Git-Url: http://git.oshgnacknak.de/?a=commitdiff_plain;h=ef1269fb07833a06a15d0601e54d58e1678bc06a;p=youtube-dl [drtv] Improve _VALID_URL (#4814) --- diff --git a/youtube_dl/extractor/drtv.py b/youtube_dl/extractor/drtv.py index 510ef04b0..8d113a5e8 100644 --- a/youtube_dl/extractor/drtv.py +++ b/youtube_dl/extractor/drtv.py @@ -6,7 +6,7 @@ from ..utils import parse_iso8601 class DRTVIE(SubtitlesInfoExtractor): - _VALID_URL = r'https?://(?:www\.)?dr\.dk/tv/se/(?:[^/]+/)+(?P[\da-z-]+)(?:[/#?]|$)' + _VALID_URL = r'https?://(?:www\.)?dr\.dk/tv/se/(?:[^/]+/)*(?P[\da-z-]+)(?:[/#?]|$)' _TEST = { 'url': 'http://www.dr.dk/tv/se/partiets-mand/partiets-mand-7-8',