mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-27 02:21:29 +00:00
[extractor/youtube] Fix live_status
extraction for playlist videos
Regression in 867c66ff97
Authored by: coletdjnz
This commit is contained in:
parent
497074f044
commit
e63faa101c
|
@ -960,6 +960,7 @@ def _extract_video(self, renderer):
|
|||
needs_subscription=self._has_badge(badges, BadgeType.AVAILABILITY_SUBSCRIPTION) or None,
|
||||
is_unlisted=self._has_badge(badges, BadgeType.AVAILABILITY_UNLISTED) or None),
|
||||
'concurrent_view_count' if live_status in ('is_live', 'is_upcoming') else 'view_count': view_count,
|
||||
'live_status': live_status
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue