[kaltura] Improve uploader_id extraction

pull/11865/head
Sergey M․ 8 years ago
parent 99a0baf370
commit 26e40542dd
No known key found for this signature in database
GPG Key ID: 2C393E0F18A9236D

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

Loading…
Cancel
Save