Skip to content

Bulk asynchronous downloader for multiple file hosts

Add support for legacy URLs and update docs

Jacob5965b76df20d
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 96752ebe2..1aee171c4 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -5,8 +5,18 @@ All notable changes to this project will be documented here. For more details, v
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
-## [6.3.0] - 2025-01-24
+## [UNRELEASED]
+
+### Added
+
+- Add support for https://www.imagebam.com
+### Removed
+
+- Remove support for ImageBan as the website no longer exists
+
+
+## [6.3.0] - 2025-01-24
### Added
diff --git a/cyberdrop_dl/scraper/crawlers/imagebam_crawler.py b/cyberdrop_dl/scraper/crawlers/imagebam_crawler.py
index c9a53c789..9866513d1 100644
--- a/cyberdrop_dl/scraper/crawlers/imagebam_crawler.py
+++ b/cyberdrop_dl/scraper/crawlers/imagebam_crawler.py
@@ -30,6 +30,10 @@ class ImageBamCrawler(Crawler):
@create_task_id
async def fetch(self, scrape_item: ScrapeItem) -> None:
"""Determines where to send the scrape item based on the url."""
+ if any(part in scrape_item.url.parts for part in ("gallery", "image")):
+ await self.view(scrape_item)
+ return
+
if self.is_cdn(scrape_item.url):
scrape_item.url = self.get_view_url(scrape_item.url)
diff --git a/docs/reference/supported-websites.md b/docs/reference/supported-websites.md
index 47f209c9d..dd286a82f 100644
--- a/docs/reference/supported-websites.md
+++ b/docs/reference/supported-websites.md
@@ -17,7 +17,7 @@ icon: globe-pointer
| Fapello | Individual Post: `/.../...` <br> Model: `/...` |
| GoFile | Album: `/d/...`|
| HotPic | Album: `/album/...` <br> Image: `/i/...`|
-| ImageBan | Album: `/a/...` <br> Compilation: `/c/...` <br> Image: `/show/...` |
+| ImageBam | Album: `/view/...` <br> Image: `/view/...` <br> Direct links |
| ibb imgbb | Album: `/album/...` <br> Image: `/...`|
| ImgBox | Album: `/g/...` <br> Images: `/...` <br> Direct links |
| Img.kiwi | Album: `/album/...` <br> Image: `/image/...` <br> Direct links |