From: Remita Amine Date: Tue, 9 Apr 2019 10:20:26 +0000 (+0100) Subject: [kaltura] sanitize embed URLs X-Git-Url: http://git.oshgnacknak.de/?a=commitdiff_plain;h=5ca3459828cc0d752f02dab3e9c02cca85185cbb;p=youtube-dl [kaltura] sanitize embed URLs --- 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(