[twitch] Fix field name of `view_count`

pull/2960/head
pukkandan 3 years ago
parent 319b6059d2
commit be8cd3cb1d
No known key found for this signature in database
GPG Key ID: 7EEE9E1E817D0A39

@ -1048,7 +1048,7 @@ class TwitchClipsIE(TwitchBaseIE):
'title': clip.get('title') or video_id,
'formats': formats,
'duration': int_or_none(clip.get('durationSeconds')),
'views': int_or_none(clip.get('viewCount')),
'view_count': int_or_none(clip.get('viewCount')),
'timestamp': unified_timestamp(clip.get('createdAt')),
'thumbnails': thumbnails,
'creator': try_get(clip, lambda x: x['broadcaster']['displayName'], compat_str),

Loading…
Cancel
Save