projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c8be7d5
)
[downloader/http] Return actual download result (closes #14971)
author
Sergey M․
<dstftw@gmail.com>
Wed, 13 Dec 2017 16:49:05 +0000
(23:49 +0700)
committer
Sergey M․
<dstftw@gmail.com>
Wed, 13 Dec 2017 16:49:05 +0000
(23:49 +0700)
youtube_dl/downloader/http.py
patch
|
blob
|
history
diff --git
a/youtube_dl/downloader/http.py
b/youtube_dl/downloader/http.py
index 8a6638cc2d47c4afa08104d77e0877f92749ac8a..3ff26ff7086afbf9d1245a144406f891e9ff393c 100644
(file)
--- a/
youtube_dl/downloader/http.py
+++ b/
youtube_dl/downloader/http.py
@@
-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: