[kaltura] Improve uploader_id extraction
This commit is contained in:
parent
99a0baf370
commit
26e40542dd
|
@ -319,6 +319,6 @@ class KalturaIE(InfoExtractor):
|
||||||
'thumbnail': info.get('thumbnailUrl'),
|
'thumbnail': info.get('thumbnailUrl'),
|
||||||
'duration': info.get('duration'),
|
'duration': info.get('duration'),
|
||||||
'timestamp': info.get('createdAt'),
|
'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'),
|
'view_count': info.get('plays'),
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue