projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d4bb825
)
[kaltura] Fix embed info strip (refs #22658)
author
Sergey M․
<dstftw@gmail.com>
Wed, 9 Oct 2019 17:11:41 +0000
(
00:11
+0700)
committer
Sergey M․
<dstftw@gmail.com>
Wed, 9 Oct 2019 17:11:41 +0000
(
00:11
+0700)
youtube_dl/extractor/kaltura.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/kaltura.py
b/youtube_dl/extractor/kaltura.py
index 0a733424c471e6a0d83b04b7773742353dda5c5a..1c486c038f2824023017231d96fb8510c61aff16 100644
(file)
--- a/
youtube_dl/extractor/kaltura.py
+++ b/
youtube_dl/extractor/kaltura.py
@@
-151,7
+151,8
@@
class KalturaIE(InfoExtractor):
if mobj:
embed_info = mobj.groupdict()
for k, v in embed_info.items():
- embed_info[k] = v.strip()
+ if v:
+ 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(