[nbc] Recognize https urls (fixes #5300)
authorJaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com>
Sat, 28 Mar 2015 13:18:11 +0000 (14:18 +0100)
committerJaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com>
Sat, 28 Mar 2015 13:18:11 +0000 (14:18 +0100)
youtube_dl/extractor/nbc.py

index 3645d3033f74ae174e3eaa85ad55bbe677d9daba..80a01c778b6b8ae3b1ce2b65451fc8fd51e9dfb7 100644 (file)
@@ -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 = [
         {