Skip to content

Bulk asynchronous downloader for multiple file hosts

refactor: check DDoS-Guard even on successful pages (#965)

NTFSvolumea12e26d35995
diff --git a/cyberdrop_dl/managers/client_manager.py b/cyberdrop_dl/managers/client_manager.py
index 5bf605221..4e121c894 100644
--- a/cyberdrop_dl/managers/client_manager.py
+++ b/cyberdrop_dl/managers/client_manager.py
@@ -203,8 +203,8 @@ class ClientManager:
check_etag()
if HTTPStatus.OK <= status < HTTPStatus.BAD_REQUEST:
- # We need to check DDosGuard even on successful pages, but it was causing the response content to be empty
- # await check_ddos_guard()
+ # Check DDosGuard even on successful pages
+ await check_ddos_guard()
return
await check_json_status()