Skip to content

Commit

Permalink
Add managed to hCaptcha detection
Browse files Browse the repository at this point in the history
  • Loading branch information
VeNoMouS committed Oct 31, 2021
1 parent d565f02 commit faf8eb0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cloudscraper/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -382,7 +382,7 @@ def is_New_Captcha_Challenge(resp):
return (
CloudScraper.is_Captcha_Challenge(resp)
and re.search(
r'cpo.src\s*=\s*"/cdn-cgi/challenge-platform/\S+orchestrate/captcha/v1',
r'cpo.src\s*=\s*"/cdn-cgi/challenge-platform/\S+orchestrate/(captcha|managed)/v1',
resp.text,
re.M | re.S
)
Expand Down

0 comments on commit faf8eb0

Please sign in to comment.