aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor/kaltura.py
diff options
context:
space:
mode:
authorRemita Amine <remitamine@gmail.com>2019-04-09 11:20:26 +0100
committerRemita Amine <remitamine@gmail.com>2019-04-09 11:20:26 +0100
commit5ca3459828cc0d752f02dab3e9c02cca85185cbb (patch)
treeab7ec632361b7ec38457290e973449dcd123fc8c /youtube_dl/extractor/kaltura.py
parent9c017253e83ac3dfd363566ccbb9fc63f4e2ac07 (diff)
[kaltura] sanitize embed URLs
Diffstat (limited to 'youtube_dl/extractor/kaltura.py')
-rw-r--r--youtube_dl/extractor/kaltura.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/youtube_dl/extractor/kaltura.py b/youtube_dl/extractor/kaltura.py
index fdf7f5bbc..79162f665 100644
--- 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(