A feature-rich command-line audio/video downloader
[ie/twitch:vod] Fix `live_status` detection (#14457)
bashonly50e452fd7dfb
diff --git a/yt_dlp/extractor/twitch.py b/yt_dlp/extractor/twitch.pyindex 503d0a7a65..4a88a4ee24 100644--- a/yt_dlp/extractor/twitch.py+++ b/yt_dlp/extractor/twitch.py@@ -514,7 +514,10 @@ class TwitchVodIE(TwitchBaseIE):is_live = Noneif thumbnail:if re.findall(r'/404_processing_[^.?#]+\.png', thumbnail):- is_live, thumbnail = True, None+ # False positive for is_live if info.get('broadcastType') == 'HIGHLIGHT'+ # See https://github.com/yt-dlp/yt-dlp/issues/14455+ is_live = info.get('broadcastType') == 'ARCHIVE'+ thumbnail = Noneelse:is_live = False