2
0
Эх сурвалжийг харах

[nbc] Recognize https urls (fixes #5300)

Jaime Marquínez Ferrándiz 10 жил өмнө
parent
commit
cb88671e37

+ 1 - 1
youtube_dl/extractor/nbc.py

@@ -14,7 +14,7 @@ from ..utils import (
 
 
 
 
 class NBCIE(InfoExtractor):
 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 = [
     _TESTS = [
         {
         {