mirror of
https://github.com/ytdl-org/youtube-dl.git
synced 2024-11-25 03:32:05 +00:00
[downloader/http] Return actual download result (closes #14971)
This commit is contained in:
parent
c8be7d5f74
commit
bec49996c6
1 changed files with 1 additions and 2 deletions
|
@ -284,8 +284,7 @@ class HttpFD(FileDownloader):
|
||||||
while count <= retries:
|
while count <= retries:
|
||||||
try:
|
try:
|
||||||
establish_connection()
|
establish_connection()
|
||||||
download()
|
return download()
|
||||||
return True
|
|
||||||
except RetryDownload as e:
|
except RetryDownload as e:
|
||||||
count += 1
|
count += 1
|
||||||
if count <= retries:
|
if count <= retries:
|
||||||
|
|
Loading…
Reference in a new issue