Browse Source

[kaltura] Improve uploader_id extraction

master-ytdl-org
Sergey M․ 8 years ago
parent
commit
26e40542dd
No known key found for this signature in database GPG Key ID: 2C393E0F18A9236D
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      youtube_dl/extractor/kaltura.py

+ 1
- 1
youtube_dl/extractor/kaltura.py View File

@ -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…
Cancel
Save