aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2015-08-29 20:26:51 +0600
committerSergey M․ <dstftw@gmail.com>2015-08-29 20:26:51 +0600
commitae6a802106663a5bb0f94803dec21bf5feaa2527 (patch)
treee3f41c3ecef77d3e17ffd42efa3590c49b3d48e6
parentb184f94413ea2837a52816e3beb009f386351d70 (diff)
[kaltura] Fix _VALID_URL formatting
-rw-r--r--youtube_dl/extractor/kaltura.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/youtube_dl/extractor/kaltura.py b/youtube_dl/extractor/kaltura.py
index c5b981092..3dca0e566 100644
--- a/youtube_dl/extractor/kaltura.py
+++ b/youtube_dl/extractor/kaltura.py
@@ -16,8 +16,7 @@ class KalturaIE(InfoExtractor):
(?:
kaltura:(?P<partner_id_s>\d+):(?P<id_s>[0-9a-z_]+)|
https?://
- (:?
- (?:www|cdnapisec)\.)?kaltura\.com/
+ (:?(?:www|cdnapisec)\.)?kaltura\.com/
(?:
(?:
# flash player
@@ -28,8 +27,8 @@ class KalturaIE(InfoExtractor):
html5/html5lib/
(?:[^/]+/)*?entry_id/(?P<id_html5>[0-9a-z_]+)
.*\?.*\bwid=_(?P<partner_id_html5>\d+)
+ )
)
- )
)
'''
_API_BASE = 'http://cdnapi.kaltura.com/api_v3/index.php?'