Selaa lähdekoodia

[discovery] Relax _VALID_URL (Closes #8903)

Sergey M․ 9 vuotta sitten
vanhempi
sitoutus
96a9f22d98
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  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|