Add more selectors to detect blocked access

This commit is contained in:
ngosang 2023-01-06 18:12:26 +01:00
parent a89679a52d
commit 2aa1744476
2 changed files with 4 additions and 1 deletions

View File

@ -3,9 +3,10 @@
## v3.1.0 (upcoming)
* Kill Chromium processes properly to avoid defunct/zombie processes
* Include procps (ps), curl and vim packages in the Docker image
* Update undetected-chromedriver
* Disable Zygote sandbox in Chromium browser
* Add more selectors to detect blocked access
* Include procps (ps), curl and vim packages in the Docker image
## v3.0.0 (2023/01/04)

View File

@ -16,6 +16,8 @@ import utils
ACCESS_DENIED_SELECTORS = [
# Cloudflare
'div.cf-error-title span.cf-code-label span'
# Cloudflare http://bitturk.net/ Firefox
'#cf-error-details div.cf-error-overview h1'
]
CHALLENGE_TITLE = [
# Cloudflare