A
A
agent_22032020-10-15 20:05:44
Python
agent_2203, 2020-10-15 20:05:44

Why does the ReCaptchaV2 solution from the RuCaptcha website not work?

I wrote a script to solve recaptchav2, but when I send a request to the rucaptcha service, I always get an answer that they can’t solve it, can anyone come across and can explain?

This is how I send and receive the status of captcha solution

req = ("""https://rucaptcha.com/in.php?key=%s&"""
          """method=userrecaptcha&googlekey=%s&pageurl=%s"""
          """&json=1&soft_id=9688393$proxy=%s&proxytype=SOCKS5""") % (
                 api_key, sitekey, driver.current_url, proxy_info, 
             )
print(req)

https://rucaptcha.com/in.php?key=key&method=userrecaptcha&googlekey=googlekey&pageurl=https://www.facebook.com/checkpoint/1501092823525282/?next=https%3A%2F%2Fwww.facebook.com%2F&json=1&soft_id=9688393$proxy=login:[email protected]:port&proxytype=SOCKS5


req = ("""https://rucaptcha.com/res.php?key=%s&action=get&id=%s""") % (
                 api_key, id_captcha, 
             )
print(req)

https://rucaptcha.com/res.php?key=key&action=get&id=id

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
agent_2203, 2020-10-16
@agent_2203

Incorrect pageurl is being used. For facebook and instagram, the captcha is inside an iframe loaded from another domain.
Need to use pageurl= https://fbsbx.com/captcha/recaptcha/iframe/

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question