mirror of
https://github.com/ytdl-org/youtube-dl.git
synced 2024-11-22 18:22:21 +00:00
[kaltura] sanitize embed URLs
This commit is contained in:
parent
9c017253e8
commit
5ca3459828
1 changed files with 2 additions and 0 deletions
|
@ -145,6 +145,8 @@ class KalturaIE(InfoExtractor):
|
||||||
)
|
)
|
||||||
if mobj:
|
if mobj:
|
||||||
embed_info = mobj.groupdict()
|
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
|
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(
|
||||||
|
|
Loading…
Reference in a new issue