mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2025-10-09 10:24:53 +00:00
@@ -5764,7 +5764,7 @@ class RetryManager:
|
||||
if not count:
|
||||
return warn(e)
|
||||
elif isinstance(e, ExtractorError):
|
||||
e = remove_end(str(e.cause) or e.orig_msg, '.')
|
||||
e = remove_end(str_or_none(e.cause) or e.orig_msg, '.')
|
||||
warn(f'{e}. Retrying{format_field(suffix, None, " %s")} ({count}/{retries})...')
|
||||
|
||||
delay = float_or_none(sleep_func(n=count - 1)) if callable(sleep_func) else sleep_func
|
||||
|
Reference in New Issue
Block a user