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

Commit

Permalink
try and fix bunkr crash
Browse files Browse the repository at this point in the history
  • Loading branch information
Jules-WinnfieldX committed Apr 3, 2024
1 parent d2c13ff commit 8799aa7
Show file tree
Hide file tree
Showing 3 changed files with 4 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.2.15"
__version__ = "5.2.16"
2 changes: 2 additions & 0 deletions cyberdrop_dl/scraper/crawlers/bunkrr_crawler.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ async def fetch(self, scrape_item: ScrapeItem) -> None:

if scrape_item.url.host.startswith("get"):
scrape_item.url = await self.reinforced_link(scrape_item.url)
if not scrape_item.url:
return
scrape_item.url = await self.get_stream_link(scrape_item.url)

if "a" in scrape_item.url.parts:
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.2.15"
version = "5.2.16"
description = "Bulk downloader for multiple file hosts"
authors = ["Jules Winnfield <[email protected]>"]
readme = "README.md"
Expand Down

0 comments on commit 8799aa7

Please sign in to comment.