Skip to content

Bulk asynchronous downloader for multiple file hosts

Add connectionreseterror to catcher

Jules-WinnfieldX6df071b5e8ac
diff --git a/cyberdrop_dl/__init__.py b/cyberdrop_dl/__init__.py
index 2a9b5b069..c6b012290 100644
--- a/cyberdrop_dl/__init__.py
+++ b/cyberdrop_dl/__init__.py
@@ -1 +1 @@
-__version__ = "5.0.39"
+__version__ = "5.0.41"
diff --git a/cyberdrop_dl/downloader/downloader.py b/cyberdrop_dl/downloader/downloader.py
index 12a7d3b4a..9cc5cbea5 100644
--- a/cyberdrop_dl/downloader/downloader.py
+++ b/cyberdrop_dl/downloader/downloader.py
@@ -382,8 +382,8 @@ class Downloader:
raise DownloadFailure(status=getattr(e, "status", 1), message=repr(e))
- except (aiohttp.ClientPayloadError, aiohttp.ClientOSError, aiohttp.ClientResponseError, DownloadFailure,
- FileNotFoundError, PermissionError) as e:
+ except (aiohttp.ClientPayloadError, aiohttp.ClientOSError, aiohttp.ClientResponseError, ConnectionResetError,
+ DownloadFailure, FileNotFoundError, PermissionError) as e:
if await self._file_lock.check_lock(FL_Filename):
await self._file_lock.remove_lock(FL_Filename)
diff --git a/pyproject.toml b/pyproject.toml
index 47c758f8a..160a7a022 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -1,6 +1,6 @@
[tool.poetry]
name = "cyberdrop-dl"
-version = "5.0.39"
+version = "5.0.41"
description = "Bulk downloader for multiple file hosts"
authors = ["Jules Winnfield <[email protected]>"]
readme = "README.md"