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

Commit

Permalink
Handle no-image on bunkr
Browse files Browse the repository at this point in the history
  • Loading branch information
Jules-WinnfieldX committed Feb 16, 2024
1 parent 6e3d1b2 commit 61dbe23
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 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.68"
__version__ = "5.1.69"
3 changes: 3 additions & 0 deletions cyberdrop_dl/scraper/crawlers/bunkrr_crawler.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,9 @@ async def album(self, scrape_item: ScrapeItem) -> None:
src = src.with_host(src.host.replace("i-", ""))
new_scrape_item = await self.create_scrape_item(scrape_item, link, "", True, date)

if "no-image" in src.name:
raise Exception("No image found, reverting to parent")

if await self.check_complete_from_referer(scrape_item):
continue

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.68"
version = "5.1.69"
description = "Bulk downloader for multiple file hosts"
authors = ["Jules Winnfield <[email protected]>"]
readme = "README.md"
Expand Down

0 comments on commit 61dbe23

Please sign in to comment.