[kaltura] Improve uploader_id extraction

This commit is contained in:
Sergey M․ 2017-01-28 17:50:56 +07:00
parent 99a0baf370
commit 26e40542dd
No known key found for this signature in database
GPG key ID: 2C393E0F18A9236D

View file

@ -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'),
}