Skip to content

Bulk asynchronous downloader for multiple file hosts

Weird error fix?

Jules-WinnfieldX3388847cc061
diff --git a/cyberdrop_dl/__init__.py b/cyberdrop_dl/__init__.py
index 78e82ed1c..b57bdcdb6 100644
--- a/cyberdrop_dl/__init__.py
+++ b/cyberdrop_dl/__init__.py
@@ -1 +1 @@
-__version__ = "3.2.8"
+__version__ = "3.2.9"
diff --git a/cyberdrop_dl/main.py b/cyberdrop_dl/main.py
index c9b2a06e7..6c8ca4077 100644
--- a/cyberdrop_dl/main.py
+++ b/cyberdrop_dl/main.py
@@ -71,6 +71,11 @@ async def download_all(args: argparse.Namespace):
links = args.links
links = list(map(URL, links))
+ links = list(filter(None, links))
+
+ if not links:
+ await log("No links found, check the URL.txt\nIf the link works in your web browser, "
+ "please open an issue ticket with me.", Fore.RED)
with open(input_file, "r", encoding="utf8") as f:
links += await regex_links(f.read())
@@ -86,8 +91,7 @@ async def download_all(args: argparse.Namespace):
if await content_object.is_empty():
logging.error('ValueError No links')
- await log("No links found, check the URL.txt\nIf the link works in your web browser, "
- "please open an issue ticket with me.", Fore.RED)
+ await log("No links found duing scraping, check passwords or that the urls are accessible", Fore.RED)
await log("This program does not currently support password protected albums.", Fore.RED)
exit(0)
await clear()