[kaltura] Fix _VALID_URL formatting

This commit is contained in:
Sergey M․ 2015-08-29 20:26:51 +06:00
parent b184f94413
commit ae6a802106
1 changed files with 2 additions and 3 deletions

View File

@ -16,8 +16,7 @@ class KalturaIE(InfoExtractor):
(?: (?:
kaltura:(?P<partner_id_s>\d+):(?P<id_s>[0-9a-z_]+)| kaltura:(?P<partner_id_s>\d+):(?P<id_s>[0-9a-z_]+)|
https?:// https?://
(:? (:?(?:www|cdnapisec)\.)?kaltura\.com/
(?:www|cdnapisec)\.)?kaltura\.com/
(?: (?:
(?: (?:
# flash player # flash player
@ -28,8 +27,8 @@ class KalturaIE(InfoExtractor):
html5/html5lib/ html5/html5lib/
(?:[^/]+/)*?entry_id/(?P<id_html5>[0-9a-z_]+) (?:[^/]+/)*?entry_id/(?P<id_html5>[0-9a-z_]+)
.*\?.*\bwid=_(?P<partner_id_html5>\d+) .*\?.*\bwid=_(?P<partner_id_html5>\d+)
)
) )
)
) )
''' '''
_API_BASE = 'http://cdnapi.kaltura.com/api_v3/index.php?' _API_BASE = 'http://cdnapi.kaltura.com/api_v3/index.php?'