diff options
author | Matthew <coletdjnz@protonmail.com> | 2022-10-07 20:00:40 +1300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-07 07:00:40 +0000 |
commit | 867c66ff97b0639485a2b6ebc28f2e0df0bf8187 (patch) | |
tree | 169e6c5788ce929591b473e106374d4264da4f2d /yt_dlp/extractor/common.py | |
parent | f03940963ed02f0e4a99afaa2673a4329741c420 (diff) | |
download | hypervideo-pre-867c66ff97b0639485a2b6ebc28f2e0df0bf8187.tar.lz hypervideo-pre-867c66ff97b0639485a2b6ebc28f2e0df0bf8187.tar.xz hypervideo-pre-867c66ff97b0639485a2b6ebc28f2e0df0bf8187.zip |
[extractor/youtube] Extract concurrent view count for livestreams (#5152)
Adds new field `concurrent_view_count`
Closes https://github.com/yt-dlp/yt-dlp/issues/4843
Authored by: coletdjnz
Diffstat (limited to 'yt_dlp/extractor/common.py')
-rw-r--r-- | yt_dlp/extractor/common.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/yt_dlp/extractor/common.py b/yt_dlp/extractor/common.py index 944b196a1..31a45b37a 100644 --- a/yt_dlp/extractor/common.py +++ b/yt_dlp/extractor/common.py @@ -284,6 +284,7 @@ class InfoExtractor: captions instead of normal subtitles duration: Length of the video in seconds, as an integer or float. view_count: How many users have watched the video on the platform. + concurrent_view_count: How many users are currently watching the video on the platform. like_count: Number of positive ratings of the video dislike_count: Number of negative ratings of the video repost_count: Number of reposts of the video |