mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-08 01:13:15 +00:00
[ie/twitter:broadcast] Extract concurrent_view_count
(#8600)
Authored by: sonmezberkay
This commit is contained in:
parent
34df1c1f60
commit
6fe82491ed
|
@ -35,6 +35,7 @@ def _parse_broadcast_data(self, broadcast, video_id):
|
||||||
'uploader_id': broadcast.get('user_id') or broadcast.get('username'),
|
'uploader_id': broadcast.get('user_id') or broadcast.get('username'),
|
||||||
'thumbnails': thumbnails,
|
'thumbnails': thumbnails,
|
||||||
'view_count': int_or_none(broadcast.get('total_watched')),
|
'view_count': int_or_none(broadcast.get('total_watched')),
|
||||||
|
'concurrent_view_count': int_or_none(broadcast.get('total_watching')),
|
||||||
'tags': broadcast.get('tags'),
|
'tags': broadcast.get('tags'),
|
||||||
'live_status': {
|
'live_status': {
|
||||||
'running': 'is_live',
|
'running': 'is_live',
|
||||||
|
|
Loading…
Reference in a new issue