Skip to content

Bulk asynchronous downloader for multiple file hosts

total_size vs total...

Jules-WinnfieldX7efc4f82aa47
diff --git a/cyberdrop_dl/utils/downloaders.py b/cyberdrop_dl/utils/downloaders.py
index 36a697a1c..a0e66277a 100644
--- a/cyberdrop_dl/utils/downloaders.py
+++ b/cyberdrop_dl/utils/downloaders.py
@@ -215,7 +215,7 @@ class Downloader:
total = int(resp.headers.get('Content-Length', str(0))) + resume_point
(self.folder / self.title).mkdir(parents=True, exist_ok=True)
- await self.SQL_helper.sql_insert_file(original_filename, filename, total_size, 0)
+ await self.SQL_helper.sql_insert_file(original_filename, filename, total, 0)
with tqdm(
total=total, unit_scale=True,