Skip to content

Bulk asynchronous downloader for multiple file hosts

Fix not removing from current attempts list when already downloaded.

Jules-WinnfieldX20a87936c9a6
diff --git a/README.md b/README.md
index 7e5445597..f4c8f9c38 100644
--- a/README.md
+++ b/README.md
@@ -1,7 +1,7 @@
# `cyberdrop-dl`
**Bulk downloader for multiple file hosts**
-The latest version of the program is 3.6.7
+The latest version of the program is 3.6.8
<a href="https://www.buymeacoffee.com/juleswinnft" target="_blank"><img src="https://cdn.buymeacoffee.com/buttons/default-orange.png" alt="Buy Me A Coffee" height="41" width="174"></a>
diff --git a/cyberdrop_dl/__init__.py b/cyberdrop_dl/__init__.py
index 263c3dced..6ae0cdc6d 100644
--- a/cyberdrop_dl/__init__.py
+++ b/cyberdrop_dl/__init__.py
@@ -1 +1 @@
-__version__ = "3.6.7"
+__version__ = "3.6.8"
diff --git a/cyberdrop_dl/client/downloaders.py b/cyberdrop_dl/client/downloaders.py
index 0622e5cdd..101741b0b 100644
--- a/cyberdrop_dl/client/downloaders.py
+++ b/cyberdrop_dl/client/downloaders.py
@@ -120,6 +120,8 @@ class Downloader:
# return if completed already
if await self.SQL_helper.sql_check_existing(db_path):
+ if url.parts[-1] in self.current_attempt.keys():
+ self.current_attempt.pop(url.parts[-1])
logger.debug(msg=f"{db_path} found in DB: Skipping {filename}")
return