1
0
mirror of https://codeberg.org/polarisfm/youtube-dl synced 2024-11-26 02:14:32 +01:00

[kaltura] Fix embed info strip (refs #22658)

This commit is contained in:
Sergey M․ 2019-10-10 00:11:41 +07:00
parent d4bb825b83
commit 1907f06e7b
No known key found for this signature in database
GPG Key ID: 2C393E0F18A9236D

View File

@ -151,7 +151,8 @@ class KalturaIE(InfoExtractor):
if mobj: if mobj:
embed_info = mobj.groupdict() embed_info = mobj.groupdict()
for k, v in embed_info.items(): for k, v in embed_info.items():
embed_info[k] = v.strip() if v:
embed_info[k] = v.strip()
url = 'kaltura:%(partner_id)s:%(id)s' % embed_info url = 'kaltura:%(partner_id)s:%(id)s' % embed_info
escaped_pid = re.escape(embed_info['partner_id']) escaped_pid = re.escape(embed_info['partner_id'])
service_url = re.search( service_url = re.search(