Skip to content
This repository has been archived by the owner on Jul 5, 2024. It is now read-only.

Commit

Permalink
fix bunkr image downloading (from album)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jules-WinnfieldX committed Dec 26, 2023
1 parent e21b2a4 commit 76be11e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion cyberdrop_dl/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "5.1.26"
__version__ = "5.1.27"
3 changes: 2 additions & 1 deletion cyberdrop_dl/scraper/crawlers/bunkrr_crawler.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -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 <[email protected]>"]
readme = "README.md"
Expand Down

0 comments on commit 76be11e

Please sign in to comment.