]> gitweb @ CieloNegro.org - youtube-dl.git/commitdiff
[kaltura] Extend _VALID_URL (Closes #5081)
authorSergey M․ <dstftw@gmail.com>
Fri, 27 Feb 2015 18:19:31 +0000 (00:19 +0600)
committerSergey M․ <dstftw@gmail.com>
Fri, 27 Feb 2015 18:19:31 +0000 (00:19 +0600)
youtube_dl/extractor/kaltura.py

index 2aff410c54a9be06cfae1e719eaa64440b1319d6..d2873049202813be7587067b629503dc2da0f877 100644 (file)
@@ -14,7 +14,7 @@ from ..utils import (
 class KalturaIE(InfoExtractor):
     _VALID_URL = r'''(?x)
     (?:kaltura:|
-       https?://(:?www\.)?kaltura\.com/index\.php/kwidget/(?:[^/]+/)*?wid/_
+       https?://(:?(?:www|cdnapisec)\.)?kaltura\.com/index\.php/kwidget/(?:[^/]+/)*?wid/_
     )(?P<partner_id>\d+)
     (?::|
        /(?:[^/]+/)*?entry_id/
@@ -39,6 +39,10 @@ class KalturaIE(InfoExtractor):
             'url': 'http://www.kaltura.com/index.php/kwidget/cache_st/1300318621/wid/_269692/uiconf_id/3873291/entry_id/1_1jc2y3e4',
             'only_matching': True,
         },
+        {
+            'url': 'https://cdnapisec.kaltura.com/index.php/kwidget/wid/_557781/uiconf_id/22845202/entry_id/1_plr1syf3',
+            'only_matching': True,
+        },
     ]
 
     def _kaltura_api_call(self, video_id, actions, *args, **kwargs):