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
[downloader/http] Report unable to resume
totalwebcasting
Sergey M․
9 years ago
parent
c3124c3085
commit
10eaa8ef1d
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
@ -66,6 +66,7 @@ class HttpFD(FileDownloader):
if
content_range_m
and
resume_len
==
int
(
content_range_m
.
group
(
1
)
)
:
break
# Content-Range is invalid - wipe the file and do entire redownload
self
.
report_unable_to_resume
(
)
resume_len
=
0
open_mode
=
'
wb
'
break
Write
Preview
Loading…
Cancel
Save