Update yt_dlp/extractor/youtube/_video.py

Co-authored-by: bashonly <88596187+bashonly@users.noreply.github.com>
This commit is contained in:
Abdulmohsen
2025-05-02 22:35:20 +03:00
committed by GitHub
co-authored by bashonly
parent ea37691f8b
commit 7032093e91
+1 -1
View File
@@ -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'