From e63faa101cf7b9bf9f899cabb74ce03c7f893572 Mon Sep 17 00:00:00 2001 From: coletdjnz Date: Thu, 27 Oct 2022 17:33:35 +1300 Subject: [PATCH] [extractor/youtube] Fix `live_status` extraction for playlist videos Regression in https://github.com/yt-dlp/yt-dlp/commit/867c66ff97b0639485a2b6ebc28f2e0df0bf8187 Authored by: coletdjnz --- yt_dlp/extractor/youtube.py | 1 + 1 file changed, 1 insertion(+) diff --git a/yt_dlp/extractor/youtube.py b/yt_dlp/extractor/youtube.py index e894f74cd..719a151c4 100644 --- a/yt_dlp/extractor/youtube.py +++ b/yt_dlp/extractor/youtube.py @@ -960,6 +960,7 @@ class YoutubeBaseInfoExtractor(InfoExtractor): 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 }