[kaltura] Improve uploader_id extraction

pull/8/head
Sergey M․ 2017-01-28 17:50:56 +07:00
rodzic 99a0baf370
commit 26e40542dd
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 2C393E0F18A9236D
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

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