Skip to content

Bulk asynchronous downloader for multiple file hosts

refactor: add individual images to the queue instead of awaiting them

NTFSvolume8646a63d93fc
diff --git a/cyberdrop_dl/scraper/__init__.py b/cyberdrop_dl/scraper/__init__.py
index 9e13e1dbe..d56291d92 100644
--- a/cyberdrop_dl/scraper/__init__.py
+++ b/cyberdrop_dl/scraper/__init__.py
@@ -20,7 +20,7 @@ from cyberdrop_dl.scraper.crawlers.f95zone_crawler import F95ZoneCrawler
from cyberdrop_dl.scraper.crawlers.fapello_crawler import FapelloCrawler
from cyberdrop_dl.scraper.crawlers.gofile_crawler import GoFileCrawler
from cyberdrop_dl.scraper.crawlers.hotpic_crawler import HotPicCrawler
-from cyberdrop_dl.scraper.crawlers.imageban_crawler import ImageBamCrawler
+from cyberdrop_dl.scraper.crawlers.imagebam_crawler import ImageBamCrawler
from cyberdrop_dl.scraper.crawlers.imgbb_crawler import ImgBBCrawler
from cyberdrop_dl.scraper.crawlers.imgbox_crawler import ImgBoxCrawler
from cyberdrop_dl.scraper.crawlers.imgur_crawler import ImgurCrawler
diff --git a/cyberdrop_dl/scraper/crawlers/imagebam_crawler.py b/cyberdrop_dl/scraper/crawlers/imagebam_crawler.py
index 0a6361198..c9a53c789 100644
--- a/cyberdrop_dl/scraper/crawlers/imagebam_crawler.py
+++ b/cyberdrop_dl/scraper/crawlers/imagebam_crawler.py
@@ -69,7 +69,7 @@ class ImageBamCrawler(Crawler):
link = self.parse_url(link_str)
if not self.check_album_results(link, results):
new_scrape_item = self.create_scrape_item(scrape_item, link, add_parent=scrape_item.url)
- await self.image(new_scrape_item)
+ self.manager.task_group.create_task(self.image(new_scrape_item))
scrape_item.add_children()
@error_handling_wrapper