projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9c01725
)
[kaltura] sanitize embed URLs
author
Remita Amine
<remitamine@gmail.com>
Tue, 9 Apr 2019 10:20:26 +0000
(11:20 +0100)
committer
Remita Amine
<remitamine@gmail.com>
Tue, 9 Apr 2019 10:20:26 +0000
(11:20 +0100)
youtube_dl/extractor/kaltura.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/kaltura.py
b/youtube_dl/extractor/kaltura.py
index fdf7f5bbc4aa314ac8d703376ec3a82014d8a6bf..79162f665ff27f40eea31a4c09fcff09018eedaf 100644
(file)
--- a/
youtube_dl/extractor/kaltura.py
+++ b/
youtube_dl/extractor/kaltura.py
@@
-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(