mirror of
https://github.com/FlareSolverr/FlareSolverr.git
synced 2025-06-06 11:35:31 +00:00
Update Cloudflare challenge and checkbox selectors (#1224)
This commit is contained in:
parent
2ecf88895b
commit
a2c0e4348e
@ -40,7 +40,7 @@ CHALLENGE_TITLES = [
|
||||
]
|
||||
CHALLENGE_SELECTORS = [
|
||||
# Cloudflare
|
||||
'#cf-challenge-running', '.ray_id', '.attack-box', '#cf-please-wait', '#challenge-spinner', '#trk_jschal_js',
|
||||
'#cf-challenge-running', '.ray_id', '.attack-box', '#cf-please-wait', '#challenge-spinner', '#trk_jschal_js', '#turnstile-wrapper',
|
||||
# Custom CloudFlare for EbookParadijs, Film-Paleis, MuziekFabriek and Puur-Hollands
|
||||
'td.info #js_info',
|
||||
# Fairlane / pararius.com
|
||||
@ -258,7 +258,7 @@ def click_verify(driver: WebDriver):
|
||||
driver.switch_to.frame(iframe)
|
||||
checkbox = driver.find_element(
|
||||
by=By.XPATH,
|
||||
value='//*[@id="challenge-stage"]/div/label/input',
|
||||
value='//*[@id="content"]/div/div/label/input',
|
||||
)
|
||||
if checkbox:
|
||||
actions = ActionChains(driver)
|
||||
|
Loading…
x
Reference in New Issue
Block a user