mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-12-11 14:18:18 +01:00
[twitch] Fix field name of view_count
This commit is contained in:
parent
319b6059d2
commit
be8cd3cb1d
@ -1048,7 +1048,7 @@ def _real_extract(self, url):
|
||||
'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…
Reference in New Issue
Block a user