Skip to content

Bulk asynchronous downloader for multiple file hosts

implement check for download folder existing

Jules-WinnfieldXead5c3f863d5
diff --git a/cyberdrop_dl/__init__.py b/cyberdrop_dl/__init__.py
index bb0cf5357..b8f2c2d05 100644
--- a/cyberdrop_dl/__init__.py
+++ b/cyberdrop_dl/__init__.py
@@ -1 +1 @@
-__version__ = "5.2.45"
+__version__ = "5.2.46"
diff --git a/cyberdrop_dl/utils/sorting.py b/cyberdrop_dl/utils/sorting.py
index 95d235c5e..27c1b1206 100644
--- a/cyberdrop_dl/utils/sorting.py
+++ b/cyberdrop_dl/utils/sorting.py
@@ -76,6 +76,10 @@ class Sorter:
if await self.check_dir_parents():
return
+
+ if not self.download_dir.is_dir():
+ await log_with_color("Download Directory does not exist", "red", 40)
+ return
for folder in self.download_dir.iterdir():
if not folder.is_dir():
diff --git a/pyproject.toml b/pyproject.toml
index f3bd5bc96..3ab5541cb 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -1,6 +1,6 @@
[tool.poetry]
name = "cyberdrop-dl"
-version = "5.2.45"
+version = "5.2.46"
description = "Bulk downloader for multiple file hosts"
authors = ["Jules Winnfield <[email protected]>"]
readme = "README.md"