diff --git a/cyberdrop_dl/__init__.py b/cyberdrop_dl/__init__.py index c5d5d845f..513256016 100644 --- a/cyberdrop_dl/__init__.py +++ b/cyberdrop_dl/__init__.py @@ -1 +1 @@ -__version__ = "5.1.46" +__version__ = "5.1.47" diff --git a/cyberdrop_dl/managers/client_manager.py b/cyberdrop_dl/managers/client_manager.py index 8401b7024..8ba9f2c69 100644 --- a/cyberdrop_dl/managers/client_manager.py +++ b/cyberdrop_dl/managers/client_manager.py @@ -81,11 +81,7 @@ async def check_http_status(self, response: ClientResponse, download: bool = Fal raise DownloadFailure(status=CustomHTTPStatus.IM_A_TEAPOT, message="No content-type in response header") if download: - if response_url in [URL("https://bnkr.b-cdn.net/maintenance-vid.mp4"), - URL("https://bnkr.b-cdn.net/maintenance.mp4"), - URL("https://bunkrr.su/magic/lovely.mp4"), - URL("https://c.bunkr-cache.se/maintenance-vid.mp4"), - URL("https://c.bunkr-cache.se/maintenance.jpg"),]: + if headers.get('ETag') in ['"eb669b6362e031fa2b0f1215480c4e30"', '"a9e4cee098dc6f1e09ec124299f26b30"']: raise DownloadFailure(status="Bunkr Maintenance", message="Bunkr under maintenance") if "imgur.com/removed" in str(response_url): raise DownloadFailure(status=HTTPStatus.NOT_FOUND, message="Imgur image has been removed") diff --git a/pyproject.toml b/pyproject.toml index 085e114b1..8f60960ca 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "cyberdrop-dl" -version = "5.1.46" +version = "5.1.47" description = "Bulk downloader for multiple file hosts" authors = ["Jules Winnfield "] readme = "README.md"