Skip to content

Bulk asynchronous downloader for multiple file hosts

Fix Bunkr Maintenance Video Detection

Jacob1c87f09242ba
diff --git a/cyberdrop_dl/managers/client_manager.py b/cyberdrop_dl/managers/client_manager.py
index 383ff2dd9..cb1d7e93c 100644
--- a/cyberdrop_dl/managers/client_manager.py
+++ b/cyberdrop_dl/managers/client_manager.py
@@ -80,7 +80,7 @@ class ClientManager:
headers = response.headers
if download:
- if headers.get('ETag') in ['"eb669b6362e031fa2b0f1215480c4e30"', '"a9e4cee098dc6f1e09ec124299f26b30"']:
+ if headers.get('Content-Length') == "322509" and headers.get('Content-Type') == "video/mp4":
raise DownloadFailure(status="Bunkr Maintenance", message="Bunkr under maintenance")
if headers.get('ETag') == '"d835884373f4d6c8f24742ceabe74946"':
raise DownloadFailure(status=HTTPStatus.NOT_FOUND, message="Imgur image has been removed")
diff --git a/pyproject.toml b/pyproject.toml
index 8c7ad41dc..6a60d86ec 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -1,6 +1,6 @@
[tool.poetry]
name = "cyberdrop-dl-patched"
-version = "5.4.50"
+version = "5.4.51"
description = "Bulk downloader for multiple file hosts"
authors = ["Jacob B <[email protected]>"]
readme = "README.md"