Skip to content

Bulk asynchronous downloader for multiple file hosts

Fix 404 for gofile

Jules-WinnfieldXef77047fab6c
diff --git a/cyberdrop_dl/__init__.py b/cyberdrop_dl/__init__.py
index d1e216fe8..a51c28dcd 100644
--- a/cyberdrop_dl/__init__.py
+++ b/cyberdrop_dl/__init__.py
@@ -1 +1 @@
-__version__ = "5.3.25"
+__version__ = "5.3.26"
diff --git a/cyberdrop_dl/scraper/crawlers/gofile_crawler.py b/cyberdrop_dl/scraper/crawlers/gofile_crawler.py
index 35adc0fbd..649fb7acb 100644
--- a/cyberdrop_dl/scraper/crawlers/gofile_crawler.py
+++ b/cyberdrop_dl/scraper/crawlers/gofile_crawler.py
@@ -60,6 +60,9 @@ class GoFileCrawler(Crawler):
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:
diff --git a/pyproject.toml b/pyproject.toml
index 199c6c72f..d65fbd05e 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -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"