[discovery] Allow https (Closes #8065)
authorSergey M․ <dstftw@gmail.com>
Thu, 31 Dec 2015 00:06:36 +0000 (06:06 +0600)
committerSergey M․ <dstftw@gmail.com>
Thu, 31 Dec 2015 00:06:36 +0000 (06:06 +0600)
youtube_dl/extractor/discovery.py

index d6723ecf26ea67356b288df6e5f3bf612141b91a..507f4bdad92645f139955479890c714e8008843b 100644 (file)
@@ -9,7 +9,7 @@ from ..compat import compat_str
 
 
 class DiscoveryIE(InfoExtractor):
-    _VALID_URL = r'http://www\.discovery\.com\/[a-zA-Z0-9\-]*/[a-zA-Z0-9\-]*/videos/(?P<id>[a-zA-Z0-9_\-]*)(?:\.htm)?'
+    _VALID_URL = r'https?://www\.discovery\.com\/[a-zA-Z0-9\-]*/[a-zA-Z0-9\-]*/videos/(?P<id>[a-zA-Z0-9_\-]*)(?:\.htm)?'
     _TESTS = [{
         'url': 'http://www.discovery.com/tv-shows/mythbusters/videos/mission-impossible-outtakes.htm',
         'info_dict': {