mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-10-31 07:50:11 +01: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 New Issue
Block a user