Detect Cloudflare access denied

This commit is contained in:
ngosang
2023-01-04 22:15:19 +01:00
parent da2263c85b
commit 258225a091
2 changed files with 6 additions and 19 deletions

View File

@@ -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