This website works better with JavaScript.
Home
Help
Sign In
zolfa
/
youtube-dl
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
1.1k
Wiki
Activity
Browse Source
Merge pull request
#2463
from rzhxeo/resume
Set resume_len to 0 if download is restarted
totalwebcasting
Philipp Hagemeister
11 years ago
parent
c0e5d85631
60daf7f0bb
commit
fbcf3e416d
1 changed files
with
1 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-0
youtube_dl/downloader/http.py
+ 1
- 0
youtube_dl/downloader/http.py
View File
@ -85,6 +85,7 @@ class HttpFD(FileDownloader):
else
:
# The length does not match, we start the download over
self
.
report_unable_to_resume
(
)
resume_len
=
0
open_mode
=
'
wb
'
break
# Retry
Write
Preview
Loading…
Cancel
Save