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

Commit

Permalink
Fix issue with images starting with "thumb" on bunkr
Browse files Browse the repository at this point in the history
  • Loading branch information
Jules-WinnfieldX committed May 31, 2024
1 parent 0e36432 commit 1c7fa3c
Show file tree
Hide file tree
Showing 3 changed files with 3 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.3.23"
__version__ = "5.3.24"
2 changes: 1 addition & 1 deletion cyberdrop_dl/scraper/crawlers/bunkrr_crawler.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ async def album(self, scrape_item: ScrapeItem) -> None:
raise FileNotFoundError()
image_obj = file.select_one("img")
src = image_obj.get("src")
src = src.replace("/thumbs", "")
src = src.replace("/thumbs/", "/")
src = URL(src, encoded=True)
src = src.with_suffix(file_ext)
src = src.with_query("download=true")
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.3.23"
version = "5.3.24"
description = "Bulk downloader for multiple file hosts"
authors = ["Jules Winnfield <[email protected]>"]
readme = "README.md"
Expand Down

0 comments on commit 1c7fa3c

Please sign in to comment.