1
0
mirror of https://github.com/ytdl-org/youtube-dl.git synced 2024-11-06 01:22:35 +00:00

[downloader/http] Return actual download result (closes #14971)

This commit is contained in:
Sergey M․ 2017-12-13 23:49:05 +07:00
parent c8be7d5f74
commit bec49996c6
No known key found for this signature in database
GPG Key ID: 2C393E0F18A9236D

View File

@ -284,8 +284,7 @@ class HttpFD(FileDownloader):
while count <= retries:
try:
establish_connection()
download()
return True
return download()
except RetryDownload as e:
count += 1
if count <= retries: