mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-10 09:07:58 +01:00
[kaltura] Fix embed info strip (refs #22658)
This commit is contained in:
parent
d4bb825b83
commit
1907f06e7b
1 changed files with 2 additions and 1 deletions
|
@ -151,7 +151,8 @@ def _extract_url(webpage):
|
|||
if mobj:
|
||||
embed_info = mobj.groupdict()
|
||||
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
|
||||
escaped_pid = re.escape(embed_info['partner_id'])
|
||||
service_url = re.search(
|
||||
|
|
Loading…
Reference in a new issue