[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'), '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',