[drtv] Updated with support for https
authorJohan <Josso@users.noreply.github.com>
Sun, 11 Jan 2015 16:39:16 +0000 (17:39 +0100)
committerJohan <Josso@users.noreply.github.com>
Sun, 11 Jan 2015 16:39:16 +0000 (17:39 +0100)
youtube_dl/extractor/drtv.py

index 93b3c9f36094724cd751cb340f9f925f2d04554c..c44adb1099bf6f0a2d08ccad7cebebef3939ddf9 100644 (file)
@@ -6,7 +6,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'https?://(?:www\.)?dr\.dk/tv/se/(?:[^/]+/)+(?P<id>[\da-z-]+)(?:[/#?]|$)'
 
     _TEST = {
         'url': 'http://www.dr.dk/tv/se/partiets-mand/partiets-mand-7-8',