diff --git a/cyberdrop_dl/__init__.py b/cyberdrop_dl/__init__.py index 0b14d647a..bc23f4cfa 100644 --- a/cyberdrop_dl/__init__.py +++ b/cyberdrop_dl/__init__.py @@ -1 +1 @@ -__version__ = "5.2.3" \ No newline at end of file +__version__ = "5.2.4" \ No newline at end of file diff --git a/cyberdrop_dl/scraper/crawlers/gofile_crawler.py b/cyberdrop_dl/scraper/crawlers/gofile_crawler.py index e94bb0c33..adc2782b5 100644 --- a/cyberdrop_dl/scraper/crawlers/gofile_crawler.py +++ b/cyberdrop_dl/scraper/crawlers/gofile_crawler.py @@ -56,6 +56,8 @@ async def album(self, scrape_item: ScrapeItem) -> None: await self.get_website_token(self.js_address, self.client) async with self.request_limiter: JSON_Resp = await self.client.get_json(self.domain, (self.api_address / "contents" / content_id).with_query({"wt": self.websiteToken}), headers_inc=self.headers) + else: + raise ScrapeFailure(e.status, e.message) if JSON_Resp["status"] != "ok": raise ScrapeFailure(404, "Does Not Exist") diff --git a/pyproject.toml b/pyproject.toml index eed4a50ab..fed2ec0aa 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "cyberdrop-dl" -version = "5.2.3" +version = "5.2.4" description = "Bulk downloader for multiple file hosts" authors = ["Jules Winnfield "] readme = "README.md"