Skip to content

Bulk asynchronous downloader for multiple file hosts

make title safe properly

Jules-WinnfieldX2ea1055d667f
diff --git a/cyberdrop_dl/crawlers/HGameCG_Spider.py b/cyberdrop_dl/crawlers/HGameCG_Spider.py
index b1f7c9ca4..8f5003329 100644
--- a/cyberdrop_dl/crawlers/HGameCG_Spider.py
+++ b/cyberdrop_dl/crawlers/HGameCG_Spider.py
@@ -26,7 +26,7 @@ class HGameCGCrawler:
try:
soup = await session.get_BS4(url)
title = await make_title_safe(soup.select_one("div[class=navbar] h1").get_text())
- await album_obj.set_new_title(title)
+ title = await album_obj.set_new_title(title)
images = soup.select("div[class=image] a")
for image in images: