mirror of
https://github.com/ytdl-org/youtube-dl.git
synced 2024-01-07 17:16:08 +00:00
[kaltura] Fix embed info strip (refs #22658)
This commit is contained in:
parent
d4bb825b83
commit
1907f06e7b
|
@ -151,6 +151,7 @@ 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():
|
||||||
|
if v:
|
||||||
embed_info[k] = v.strip()
|
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'])
|
||||||
|
|
Loading…
Reference in a new issue