diff --git a/cyberdrop_dl/__init__.py b/cyberdrop_dl/__init__.py index b7e787e3e..09bfb9c87 100644 --- a/cyberdrop_dl/__init__.py +++ b/cyberdrop_dl/__init__.py @@ -1 +1 @@ -__version__ = "5.1.26" +__version__ = "5.1.27" diff --git a/cyberdrop_dl/scraper/crawlers/bunkrr_crawler.py b/cyberdrop_dl/scraper/crawlers/bunkrr_crawler.py index fc8fa7a4c..179463f38 100644 --- a/cyberdrop_dl/scraper/crawlers/bunkrr_crawler.py +++ b/cyberdrop_dl/scraper/crawlers/bunkrr_crawler.py @@ -79,7 +79,8 @@ async def album(self, scrape_item: ScrapeItem) -> None: src = URL(src, encoded=True) src = src.with_suffix(file_ext) src = src.with_query("download=true") - src = src.with_host(src.host.replace("i-", "")) + if file_ext.lower() not in FILE_FORMATS['Images']: + src = src.with_host(src.host.replace("i-", "")) new_scrape_item = await self.create_scrape_item(scrape_item, link, "", True, date) if await self.check_complete_from_referer(scrape_item): diff --git a/pyproject.toml b/pyproject.toml index 60aff26d5..8a81219a0 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "cyberdrop-dl" -version = "5.1.26" +version = "5.1.27" description = "Bulk downloader for multiple file hosts" authors = ["Jules Winnfield "] readme = "README.md"