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:
parent
5328eda882
commit
8f303afb43
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user