diff --git a/cyberdrop_dl/__init__.py b/cyberdrop_dl/__init__.py index 513256016..133ff060a 100644 --- a/cyberdrop_dl/__init__.py +++ b/cyberdrop_dl/__init__.py @@ -1 +1 @@ -__version__ = "5.1.47" +__version__ = "5.1.48" diff --git a/cyberdrop_dl/managers/client_manager.py b/cyberdrop_dl/managers/client_manager.py index 8ba9f2c69..12b4f7d3e 100644 --- a/cyberdrop_dl/managers/client_manager.py +++ b/cyberdrop_dl/managers/client_manager.py @@ -83,7 +83,7 @@ async def check_http_status(self, response: ClientResponse, download: bool = Fal if download: if headers.get('ETag') in ['"eb669b6362e031fa2b0f1215480c4e30"', '"a9e4cee098dc6f1e09ec124299f26b30"']: raise DownloadFailure(status="Bunkr Maintenance", message="Bunkr under maintenance") - if "imgur.com/removed" in str(response_url): + if headers.get('ETag') == '"d835884373f4d6c8f24742ceabe74946"': raise DownloadFailure(status=HTTPStatus.NOT_FOUND, message="Imgur image has been removed") if HTTPStatus.OK <= status < HTTPStatus.BAD_REQUEST: diff --git a/pyproject.toml b/pyproject.toml index 8f60960ca..1ba34aa67 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "cyberdrop-dl" -version = "5.1.47" +version = "5.1.48" description = "Bulk downloader for multiple file hosts" authors = ["Jules Winnfield "] readme = "README.md"