Skip to content

A feature-rich command-line audio/video downloader

[downloader/http] Report unable to resume

Sergey M․10eaa8ef1d2a
diff --git a/youtube_dl/downloader/http.py b/youtube_dl/downloader/http.py
index 0862e90bbb..2f8490f023 100644
--- a/youtube_dl/downloader/http.py
+++ b/youtube_dl/downloader/http.py
@@ -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