diff options
author | Sergey M․ <dstftw@gmail.com> | 2017-01-28 17:50:56 +0700 |
---|---|---|
committer | Sergey M․ <dstftw@gmail.com> | 2017-01-28 17:50:56 +0700 |
commit | 26e40542dd730b1a18f9d7eebe241972b77810cf (patch) | |
tree | 9d92d38c29322e73febf530f34c102a13cd46642 | |
parent | 99a0baf370c7652f6103cff71f878872229b4129 (diff) |
[kaltura] Improve uploader_id extraction
-rw-r--r-- | youtube_dl/extractor/kaltura.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/kaltura.py b/youtube_dl/extractor/kaltura.py index c0ddad6f9..a57d913af 100644 --- 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'), } |