1
0
mirror of https://github.com/l1ving/youtube-dl synced 2024-12-22 00:52:56 +08:00

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