mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-07 19:52:40 +01:00
[downloader/http] Return actual download result (closes #14971)
This commit is contained in:
parent
c8be7d5f74
commit
bec49996c6
@ -284,8 +284,7 @@ def retry(e):
|
||||
while count <= retries:
|
||||
try:
|
||||
establish_connection()
|
||||
download()
|
||||
return True
|
||||
return download()
|
||||
except RetryDownload as e:
|
||||
count += 1
|
||||
if count <= retries:
|
||||
|
Loading…
Reference in New Issue
Block a user