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

Commit

Permalink
Fix 404 for gofile
Browse files Browse the repository at this point in the history
  • Loading branch information
Jules-WinnfieldX committed Jun 15, 2024
1 parent 951bd0f commit ef77047
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.3.25"
__version__ = "5.3.26"
3 changes: 3 additions & 0 deletions cyberdrop_dl/scraper/crawlers/gofile_crawler.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,9 @@ async def album(self, scrape_item: ScrapeItem) -> None:
else:
raise ScrapeFailure(e.status, e.message)

if JSON_Resp["status"] == "error-notFound":
raise ScrapeFailure(404, "Album not found")

JSON_Resp = JSON_Resp['data']

if "password" in JSON_Resp:
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.25"
version = "5.3.26"
description = "Bulk downloader for multiple file hosts"
authors = ["Jules Winnfield <[email protected]>"]
readme = "README.md"
Expand Down

0 comments on commit ef77047

Please sign in to comment.