Skip to content

Bulk asynchronous downloader for multiple file hosts

lets change it to 500

Jules-WinnfieldXaeb04c9a3aeb
diff --git a/cyberdrop_dl/__init__.py b/cyberdrop_dl/__init__.py
index 07f0e9e28..d2f4a6f4b 100644
--- a/cyberdrop_dl/__init__.py
+++ b/cyberdrop_dl/__init__.py
@@ -1 +1 @@
-__version__ = "5.3.2"
+__version__ = "5.3.3"
diff --git a/cyberdrop_dl/clients/download_client.py b/cyberdrop_dl/clients/download_client.py
index 7a0af5184..fcec813c6 100644
--- a/cyberdrop_dl/clients/download_client.py
+++ b/cyberdrop_dl/clients/download_client.py
@@ -142,7 +142,7 @@ class DownloadClient:
await update_progress(len(chunk))
if not content.total_bytes and not media_item.partial_file.stat().st_size:
media_item.partial_file.unlink()
- raise DownloadFailure(status=HTTPStatus.NOT_FOUND, message="File is empty")
+ raise DownloadFailure(status=HTTPStatus.INTERNAL_SERVER_ERROR, message="File is empty")
async def download_file(self, manager: Manager, domain: str, media_item: MediaItem) -> None:
"""Starts a file"""
diff --git a/pyproject.toml b/pyproject.toml
index 9f48088ce..9e48d5c47 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -1,6 +1,6 @@
[tool.poetry]
name = "cyberdrop-dl"
-version = "5.3.2"
+version = "5.3.3"
description = "Bulk downloader for multiple file hosts"
authors = ["Jules Winnfield <[email protected]>"]
readme = "README.md"