Bulk asynchronous downloader for multiple file hosts
Python asynciobunkrcyberdropdownloaderdropboxfilestergofilegoogle-drivemediafiremegamega-nzonedrivepatreonpawchivepinterestpixeldraintransfer-ittwitchtwittervk
fix: imgbb crawler
NTFSvolume3e0c246e9aff
diff --git a/cyberdrop_dl/scraper/crawlers/imgbb_crawler.py b/cyberdrop_dl/scraper/crawlers/imgbb_crawler.pyindex 7f0712bc7..c6491c25b 100644--- a/cyberdrop_dl/scraper/crawlers/imgbb_crawler.py+++ b/cyberdrop_dl/scraper/crawlers/imgbb_crawler.py@@ -3,7 +3,7 @@ from __future__ import annotationsimport calendarimport datetimeimport re-from typing import TYPE_CHECKING+from typing import TYPE_CHECKING, ClassVarfrom yarl import URL@@ -18,10 +18,11 @@ if TYPE_CHECKING:class ImgBBCrawler(Crawler):+ SUPPORTED_SITES: ClassVar[dict[str, list]] = {"imgbb": ["ibb.co", "imgbb.co"]}primary_base_domain = URL("https://ibb.co")- def __init__(self, manager: Manager) -> None:- super().__init__(manager, "imgbb", "ImgBB")+ def __init__(self, manager: Manager, site: str) -> None:+ super().__init__(manager, site, "ImgBB")"""~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"""