1
0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2025-05-07 14:30:09 +00:00

[ie/youtube] Fix --live-from-start support for premieres (#13079)

Closes #8543
Authored by: arabcoders
This commit is contained in:
Abdulmohsen 2025-05-03 18:23:28 +03:00 committed by GitHub
parent 5328eda882
commit 8f303afb43
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1819,6 +1819,12 @@ class YoutubeIE(YoutubeBaseInfoExtractor):
else:
retry.error = f'Cannot find refreshed manifest for format {format_id}{bug_reports_message()}'
continue
# Formats from ended premieres will be missing a manifest_url
# See https://github.com/yt-dlp/yt-dlp/issues/8543
if not f.get('manifest_url'):
break
return f['manifest_url'], f['manifest_stream_number'], is_live
return None