]> git.bitcoin.ninja Git - youtube-dl/commitdiff
Add support for https for rest of the exctractors.
authorstepshal <nessento@openmailbox.org>
Thu, 8 Sep 2016 06:52:22 +0000 (13:52 +0700)
committerstepshal <nessento@openmailbox.org>
Thu, 8 Sep 2016 06:52:22 +0000 (13:52 +0700)
youtube_dl/extractor/abcnews.py
youtube_dl/extractor/dailymotion.py
youtube_dl/extractor/karaoketv.py

index b61a6327c46110c6f32d1806db7e791152ea9635..8a5ae42f0234c9db022309d99a48598530752c65 100644 (file)
@@ -12,7 +12,7 @@ from ..compat import compat_urlparse
 
 class AbcNewsVideoIE(AMPIE):
     IE_NAME = 'abcnews:video'
-    _VALID_URL = 'http://abcnews.go.com/[^/]+/video/(?P<display_id>[0-9a-z-]+)-(?P<id>\d+)'
+    _VALID_URL = 'https?://abcnews.go.com/[^/]+/video/(?P<display_id>[0-9a-z-]+)-(?P<id>\d+)'
 
     _TESTS = [{
         'url': 'http://abcnews.go.com/ThisWeek/video/week-exclusive-irans-foreign-minister-zarif-20411932',
index 496883d15bbc0b3e1a3503d0545ea1e46c33e6c9..62b0747a5c5a73f7628a3e500cbffada661f3212 100644 (file)
@@ -394,7 +394,7 @@ class DailymotionUserIE(DailymotionPlaylistIE):
 
 
 class DailymotionCloudIE(DailymotionBaseInfoExtractor):
-    _VALID_URL_PREFIX = r'http://api\.dmcloud\.net/(?:player/)?embed/'
+    _VALID_URL_PREFIX = r'https?://api\.dmcloud\.net/(?:player/)?embed/'
     _VALID_URL = r'%s[^/]+/(?P<id>[^/?]+)' % _VALID_URL_PREFIX
     _VALID_EMBED_URL = r'%s[^/]+/[^\'"]+' % _VALID_URL_PREFIX
 
index a6050c4de3e1695ac26bd1a21bab981a52755c21..2f37786df7a5ad3fb0fa435d4e678d22787c8c2b 100644 (file)
@@ -5,7 +5,7 @@ from .common import InfoExtractor
 
 
 class KaraoketvIE(InfoExtractor):
-    _VALID_URL = r'http://www.karaoketv.co.il/[^/]+/(?P<id>\d+)'
+    _VALID_URL = r'https?://www.karaoketv.co.il/[^/]+/(?P<id>\d+)'
     _TEST = {
         'url': 'http://www.karaoketv.co.il/%D7%A9%D7%99%D7%A8%D7%99_%D7%A7%D7%A8%D7%99%D7%95%D7%A7%D7%99/58356/%D7%90%D7%99%D7%96%D7%95%D7%9F',
         'info_dict': {