summary refs log tree commit diff
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2015-12-31 06:06:36 +0600
committerSergey M․ <dstftw@gmail.com>2015-12-31 06:06:36 +0600
commitdf827a983aa94ba99542230c6f7585b36ab49713 (patch)
tree2dba5c3d3a07223f93c281f7978a31d42861ea73
parent29f36839016e989f4a335fdd51d63f083e26d555 (diff)
downloadyoutube-dl-df827a983aa94ba99542230c6f7585b36ab49713.tar.gz
youtube-dl-df827a983aa94ba99542230c6f7585b36ab49713.tar.xz
youtube-dl-df827a983aa94ba99542230c6f7585b36ab49713.zip
[discovery] Allow https (Closes #8065)
-rw-r--r--youtube_dl/extractor/discovery.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/discovery.py b/youtube_dl/extractor/discovery.py
index d6723ecf2..507f4bdad 100644
--- a/youtube_dl/extractor/discovery.py
+++ b/youtube_dl/extractor/discovery.py
@@ -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': {