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:28:27 +03:00
committed by GitHub
co-authored by bashonly
parent 3d380b5fa5
commit ea37691f8b
+2 -2
View File
@@ -1820,10 +1820,10 @@ class YoutubeIE(YoutubeBaseInfoExtractor):
retry.error = f'Cannot find refreshed manifest for format {format_id}{bug_reports_message()}'
continue
if not isinstance(f, dict) or not f.get('manifest_url'):
if not f.get('manifest_url'):
break
return f.get('manifest_url'), f.get('manifest_stream_number'), is_live
return f['manifest_url'], f['manifest_stream_number'], is_live
return None
for f in formats: