mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2026-09-06 11:11:56 +03:00
Update yt_dlp/extractor/youtube/_video.py
Co-authored-by: bashonly <88596187+bashonly@users.noreply.github.com>
This commit is contained in:
@@ -1820,10 +1820,10 @@ class YoutubeIE(YoutubeBaseInfoExtractor):
|
|||||||
retry.error = f'Cannot find refreshed manifest for format {format_id}{bug_reports_message()}'
|
retry.error = f'Cannot find refreshed manifest for format {format_id}{bug_reports_message()}'
|
||||||
continue
|
continue
|
||||||
|
|
||||||
if not isinstance(f, dict) or not f.get('manifest_url'):
|
if not f.get('manifest_url'):
|
||||||
break
|
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
|
return None
|
||||||
|
|
||||||
for f in formats:
|
for f in formats:
|
||||||
|
|||||||
Reference in New Issue
Block a user