[ie/twitch:vod] Fix `live_status` detection (#14457)

Closes #14455
Authored by: bashonly
pull/14430/head
bashonly 2 months ago committed by GitHub
parent 94c5622be9
commit 50e452fd7d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -514,7 +514,10 @@ class TwitchVodIE(TwitchBaseIE):
is_live = None
if 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 = None
else:
is_live = False

Loading…
Cancel
Save