mirror of
https://github.com/yt-dlp/yt-dlp
synced 2025-02-12 20:48:06 +01:00
[extractor/twitch] Fix is_live
(#6500)
Closes #6494 Authored by: elyse0
This commit is contained in:
parent
2d1655493f
commit
c222f6cbfc
1 changed files with 1 additions and 1 deletions
|
@ -456,7 +456,7 @@ class TwitchVodIE(TwitchBaseIE):
|
|||
thumbnail = url_or_none(info.get('previewThumbnailURL'))
|
||||
is_live = None
|
||||
if thumbnail:
|
||||
if thumbnail.endswith('/404_processing_{width}x{height}.png'):
|
||||
if re.findall(r'/404_processing_[^.?#]+\.png', thumbnail):
|
||||
is_live, thumbnail = True, None
|
||||
else:
|
||||
is_live = False
|
||||
|
|
Loading…
Add table
Reference in a new issue