2captcha-python
2captcha-python copied to clipboard
Cloudflare Turnstile ERROR_CAPTCHA_UNSOLVABLE
Looks like Cloudflare Turnstile does not work now.
Hi, @bingyu50! Have you been able to solve this? Was your captcha type "interactive" or "managed"? It looks like 2captcha doesn't support interactive turnstile captchas, because it works fine for managed turnstile in their API docs
Hi @RezohlazovVI, I have same error ERROR_CAPTCHA_UNSOLVABLEthis captcha info and the following code:
result = solver.turnstile(
sitekey="0x4AAAAAAADnPIDROrmt1Wwj",
url="https://cityoflapcp.ezlinksgolf.com/index.html#/search",
data="foo",
pagedata="cloudflare captcha",
action="challenge",
)
print("Result: ", result)
sleep(30)
captchaId = result["captchaId"]
url = (
f"https://2captcha.com/res.php?key={YOUR_API_KEY}&action=get&id={captchaId}&json=1"
)
response = requests.get(url)
can you help me?
@bingyu50 @Jackson-Vieira @RezohlazovVI Good afternoon. 2Captcha successfully solves captcha on the site you specified. To solve captcha on this site it is not enough to pass captcha parameters, you need to follow the instructions described in the article Bypassing Cloudflare Challenge with Puppeteer and 2Captcha.
There is a great example demonstrating how to bypass Cloudflare challenge page. Just change the URL of the page to the one you need in example, the captcha will be solved successfully.
Please let me know if you have any problems.
When you access a site which shows "Just a momemnt" page and says "Verify you are human by completing the action below." then when you click the checkbox it redirects to the actual site as a POST request and in the request payload it does not contain 'token' parameter at all. It sends 5 randomly named secret parameters with long encrypted values to the actual site which verifies them and allow you to move on.
I believe this is not possible to solve using 2captcha because all 2captcha docs mentioned a single 'token' parameter everywhere. Is it right?
I have almost created a custom solution to solve those site entry captchas by the way but it is a big job and still much left do it. Can 2captcha solve it? Or should I continue with my custom solution?