mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-15 05:33:05 +00:00
Just return nothing on max retries, same as with extractor errors
This commit is contained in:
parent
87ad4d4774
commit
9438d15dff
@ -1633,7 +1633,7 @@ class YoutubeDL:
|
|||||||
self.report_error(f'Giving up after {wait_retries - 1} {"retries" if wait_retries > 2 else "retry"} while waiting.')
|
self.report_error(f'Giving up after {wait_retries - 1} {"retries" if wait_retries > 2 else "retry"} while waiting.')
|
||||||
else:
|
else:
|
||||||
self.report_error('Video is still unavailable after waiting.')
|
self.report_error('Video is still unavailable after waiting.')
|
||||||
raise UserNotLive('Maximum number of retries exceeded while waiting for stream')
|
return
|
||||||
if e.expected:
|
if e.expected:
|
||||||
self.to_screen(f'{e}; Re-extracting data')
|
self.to_screen(f'{e}; Re-extracting data')
|
||||||
else:
|
else:
|
||||||
|
Loading…
Reference in New Issue
Block a user