1
0
mirror of https://github.com/l1ving/youtube-dl synced 2024-12-21 21:43:00 +08:00

[kaltura] sanitize embed URLs

This commit is contained in:
Remita Amine 2019-04-09 11:20:26 +01:00
parent 9c017253e8
commit 5ca3459828

View File

@ -145,6 +145,8 @@ class KalturaIE(InfoExtractor):
)
if mobj:
embed_info = mobj.groupdict()
for k, v in embed_info.items():
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(