mirror of
https://github.com/FlareSolverr/FlareSolverr.git
synced 2025-12-06 01:28:37 +01:00
Detect Cloudflare access denied
This commit is contained in:
@@ -15,7 +15,7 @@ import utils
|
||||
|
||||
ACCESS_DENIED_SELECTORS = [
|
||||
# Cloudflare
|
||||
'div.main-wrapper div.header.section h1 span.code-label span'
|
||||
'div.cf-error-title span.cf-code-label span'
|
||||
]
|
||||
CHALLENGE_SELECTORS = [
|
||||
# Cloudflare
|
||||
|
||||
Reference in New Issue
Block a user