mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-27 18:41:29 +00:00
[kaltura] Improve uploader_id extraction
This commit is contained in:
parent
99a0baf370
commit
26e40542dd
|
@ -319,6 +319,6 @@ def sign_url(unsigned_url):
|
||||||
'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 a new issue