Skip to content

Commit

Permalink
Update Cloudflare hCaptcha detection
Browse files Browse the repository at this point in the history
  • Loading branch information
VeNoMouS committed Jan 28, 2021
1 parent 310cf66 commit 467ccd3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cloudscraper/__init__.py
Expand Up @@ -380,7 +380,7 @@ def is_New_Captcha_Challenge(resp):
resp.text,
re.M | re.S
)
and re.search(r'window._cf_chl_enter\s*[\(=]', resp.text, re.M | re.S)
and re.search(r'\s*id="trk_captcha_js"', resp.text, re.M | re.S)
)
except AttributeError:
pass
Expand Down

0 comments on commit 467ccd3

Please sign in to comment.