mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2026-09-05 18:51:37 +03:00
Update yt_dlp/extractor/youtube/_video.py
Co-authored-by: bashonly <88596187+bashonly@users.noreply.github.com>
This commit is contained in:
@@ -1812,7 +1812,7 @@ class YoutubeIE(YoutubeBaseInfoExtractor):
|
||||
with lock:
|
||||
refetch_manifest(format_id, delay)
|
||||
|
||||
f = next((f for f in formats if f.get('format_id') == format_id), None)
|
||||
f = next((f for f in formats if f['format_id'] == format_id), None)
|
||||
if not f:
|
||||
if not is_live:
|
||||
retry.error = f'{video_id}: Video is no longer live'
|
||||
|
||||
Reference in New Issue
Block a user