Selaa lähdekoodia

[nbc] Recognize https urls (fixes #5300)

Jaime Marquínez Ferrándiz 10 vuotta sitten
vanhempi
sitoutus
cb88671e37
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      youtube_dl/extractor/nbc.py

+ 1 - 1
youtube_dl/extractor/nbc.py

@@ -14,7 +14,7 @@ from ..utils import (
 
 
 class NBCIE(InfoExtractor):
-    _VALID_URL = r'http://www\.nbc\.com/(?:[^/]+/)+(?P<id>n?\d+)'
+    _VALID_URL = r'https?://www\.nbc\.com/(?:[^/]+/)+(?P<id>n?\d+)'
 
     _TESTS = [
         {