Skip to content

A feature-rich command-line audio/video downloader

[downloader/http] Add missing fields for _hook_progress call

Jaime Marquínez Ferrándizf28fe6697037
diff --git a/youtube_dl/downloader/http.py b/youtube_dl/downloader/http.py
index 5e99827994..4047d71674 100644
--- a/youtube_dl/downloader/http.py
+++ b/youtube_dl/downloader/http.py
@@ -92,6 +92,8 @@ class HttpFD(FileDownloader):
self._hook_progress({
'filename': filename,
'status': 'finished',
+ 'downloaded_bytes': resume_len,
+ 'total_bytes': resume_len,
})
return True
else: