projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
99a0baf
)
[kaltura] Improve uploader_id extraction
author
Sergey M․
<dstftw@gmail.com>
Sat, 28 Jan 2017 10:50:56 +0000
(17:50 +0700)
committer
Sergey M․
<dstftw@gmail.com>
Sat, 28 Jan 2017 10:50:56 +0000
(17:50 +0700)
youtube_dl/extractor/kaltura.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/kaltura.py
b/youtube_dl/extractor/kaltura.py
index c0ddad6f9629b054f3e0064a9b3d60dc0f41dcf0..a57d913aff67d47b665582ee1a6e9656f9453278 100644
(file)
--- a/
youtube_dl/extractor/kaltura.py
+++ b/
youtube_dl/extractor/kaltura.py
@@
-319,6
+319,6
@@
class KalturaIE(InfoExtractor):
'thumbnail': info.get('thumbnailUrl'),
'duration': info.get('duration'),
'timestamp': info.get('createdAt'),
- 'uploader_id': info.get('userId'),
+ 'uploader_id': info.get('userId')
if info.get('userId') != 'None' else None
,
'view_count': info.get('plays'),
}