0
0
Fork 0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2024-11-23 02:25:11 +00:00

[ie/twitter:broadcast] Extract concurrent_view_count (#8600)

Authored by: sonmezberkay
This commit is contained in:
Berkay 2023-11-18 22:46:22 +01:00 committed by GitHub
parent 34df1c1f60
commit 6fe82491ed
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -35,6 +35,7 @@ def _parse_broadcast_data(self, broadcast, video_id):
'uploader_id': broadcast.get('user_id') or broadcast.get('username'),
'thumbnails': thumbnails,
'view_count': int_or_none(broadcast.get('total_watched')),
'concurrent_view_count': int_or_none(broadcast.get('total_watching')),
'tags': broadcast.get('tags'),
'live_status': {
'running': 'is_live',