Skip to content

Bulk asynchronous downloader for multiple file hosts

remove ddos-guard check as it was causing issues (unsurprisingly based on how I wrote it)

Jules-WinnfieldX6f4aed4baa84
diff --git a/cyberdrop_dl/managers/client_manager.py b/cyberdrop_dl/managers/client_manager.py
index 6683a2d27..9a5fedf18 100644
--- a/cyberdrop_dl/managers/client_manager.py
+++ b/cyberdrop_dl/managers/client_manager.py
@@ -66,9 +66,6 @@ class ClientManager:
async def check_http_status(self, status: int, headers: CIMultiDictProxy, response_url: URL,
download: bool = False) -> None:
"""Checks the HTTP status code and raises an exception if it's not acceptable"""
- if status > 206:
- if headers.get("Server") == "ddos-guard":
- raise DownloadFailure(status=CustomHTTPStatus.DDOS_GUARD, message="DDoS-Guard detected, unable to continue")
if not headers.get('Content-Type'):
raise DownloadFailure(status=CustomHTTPStatus.IM_A_TEAPOT, message="No content-type in response header")