1
0
mirror of https://github.com/ytdl-org/youtube-dl.git synced 2024-11-15 11:33:30 +01:00

[kaltura] Fix _VALID_URL formatting

This commit is contained in:
Sergey M․ 2015-08-29 20:26:51 +06:00
parent b184f94413
commit ae6a802106

View File

@ -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?'