Skip to content

Bulk asynchronous downloader for multiple file hosts

add check for null title

Jules-WinnfieldXff7c10db339b
diff --git a/cyberdrop_dl/utils/dataclasses/url_objects.py b/cyberdrop_dl/utils/dataclasses/url_objects.py
index 4c6a3d72b..d9d659ee2 100644
--- a/cyberdrop_dl/utils/dataclasses/url_objects.py
+++ b/cyberdrop_dl/utils/dataclasses/url_objects.py
@@ -32,5 +32,7 @@ class ScrapeItem:
self.possible_datetime: str = possible_datetime
async def add_to_parent_title(self, title: str) -> None:
+ if not title:
+ return
title = await sanitize_folder(title)
self.parent_title = (self.parent_title + "/" + title) if self.parent_title else title