aboutsummaryrefslogtreecommitdiffstats
path: root/yt_dlp/extractor/twitch.py
diff options
context:
space:
mode:
authorJesús <heckyel@hyperbola.info>2022-03-05 00:59:20 +0800
committerJesús <heckyel@hyperbola.info>2022-03-05 00:59:20 +0800
commitf4f05a6915b8683655b073654d58f70a92f96330 (patch)
treef0fb8acb7acb580030f1b0b758ad03531d6cbb39 /yt_dlp/extractor/twitch.py
parent2064247b6faafff3ee304ea6ec58495b8d9ee023 (diff)
parent72e995f1226a2fce3cd7f5fda50ebe024fe2a57e (diff)
downloadhypervideo-pre-f4f05a6915b8683655b073654d58f70a92f96330.tar.lz
hypervideo-pre-f4f05a6915b8683655b073654d58f70a92f96330.tar.xz
hypervideo-pre-f4f05a6915b8683655b073654d58f70a92f96330.zip
updated from upstream | 05/03/2022 at 00:59
Diffstat (limited to 'yt_dlp/extractor/twitch.py')
-rw-r--r--yt_dlp/extractor/twitch.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/yt_dlp/extractor/twitch.py b/yt_dlp/extractor/twitch.py
index 54e500edd..bee26c3a3 100644
--- a/yt_dlp/extractor/twitch.py
+++ b/yt_dlp/extractor/twitch.py
@@ -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),