浏览代码

[discovery] Relax _VALID_URL (Closes #8903)

Sergey M․ 9 年之前
父节点
当前提交
96a9f22d98
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      youtube_dl/extractor/discovery.py

+ 1 - 1
youtube_dl/extractor/discovery.py

@@ -9,7 +9,7 @@ from ..compat import compat_str
 
 
 class DiscoveryIE(InfoExtractor):
-    _VALID_URL = r'''(?x)http://(?:www\.)?(?:
+    _VALID_URL = r'''(?x)https?://(?:www\.)?(?:
             discovery|
             investigationdiscovery|
             discoverylife|