Skip to content

Bulk asynchronous downloader for multiple file hosts

Actually track attempts this time.

Jules-WinnfieldXbc0b25765775
diff --git a/cyberdrop_dl/utils/downloaders.py b/cyberdrop_dl/utils/downloaders.py
index 8e1f115e6..c34b38edd 100644
--- a/cyberdrop_dl/utils/downloaders.py
+++ b/cyberdrop_dl/utils/downloaders.py
@@ -30,6 +30,7 @@ def retry(f):
if self.current_attempt >= self.attempts - 1:
raise
logger.debug('Retrying...')
+ self.attempts += 1
time.sleep(2)
return wrapper