diff options
Diffstat (limited to '')
-rw-r--r-- | g4f/requests/raise_for_status.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/g4f/requests/raise_for_status.py b/g4f/requests/raise_for_status.py index 8625f552..0cd09a2a 100644 --- a/g4f/requests/raise_for_status.py +++ b/g4f/requests/raise_for_status.py @@ -11,7 +11,7 @@ class CloudflareError(ResponseStatusError): ... def is_cloudflare(text: str) -> bool: - if "Generated by cloudfront" in text: + if "Generated by cloudfront" in text or '<p id="cf-spinner-please-wait">' in text: return True elif "<title>Attention Required! | Cloudflare</title>" in text or 'id="cf-cloudflare-status"' in text: return True |