Closed adrianomaia closed 4 years ago
Hi
anticaptcha_key
, cause smb else can use it and spend your money.textarea
visible and then insert captcha-response in it, and only after this steps click button to submit some action(like form send and etc.)
U can find example here.Hello @AndreiDrang, than's for the answer.
I'm inserting the token with this section of the code:
self.driver.execute_script("document.getElementById('g-recaptcha-response').innerHTML='%s'" % captcha_answer)
Work's just fine, but when I submit the form, returns the error "Wrong Captcha". I'm assuming that the token returned is not right..
Can u give link on page with recaptcha? U can check something: Open page with captcha(manually), than start captcha solving process(with service), get key and try insert it(also manually) and press submit button. Is it working well?
Also not working that way (but that's normal, because the token varies from recaptcha to recaptcha, right?). The link is: (https://www.detran.sp.gov.br/wps/portal/portaldetran/cidadao/veiculos/servicos/pesquisaDebitosRestricoesVeiculos/!ut/p/z1/pZJfb4IwFMU_yx54lN7agmXJsjBFEdHF-b8vpiJqNwFT0e7jD_Y2dU6zm740-Z1z23Mv4miKeCqOci1ymaViW9xn3J4TCgPnBbsAwZCAy2qdMQ5dwmyCJicA8VkBvA19NwQM1Eb8P_oWvVPPvHGz1JMm9l6r0IHb9EEf6r7PqmELN-rgOpR220GHgENu08Mv5cK9_z8D-HX7CeInLc4ncBUoI_4JXMjwG7gW0l_PDBCXi8TUUWKCSaFmW4QRh1rUpgzXyjVz0wVha8RVvIpVrMyDKrZvk-e7_aMBBmitTZ2pD5EKM8oSA2S6yD4NiJTQ21hVlnGuRGqAWCop0qySCCkq9Llwe1KZ2OexutRkk-1zND3xRrNiJhjPKXY8jOvQhVFIoN_v9sYYegDUQgM0axSH6sjTaJeMypqCbL9b22O46rUfvgC-81L0/dz/d5/L2dBISEvZ0FBIS9nQSEh/p0/IZ11_419E11C0M0UL30QQMNV10N0045=CZ6_340S9B1A00JT30A87KV1LA3863=LA0=Ejavax.servlet.include.path_info!QCPpagesQCPdebitosRestricoesTerceirosQCPpesquisaView.xhtml==/#Z11_419E11C0M0UL30QQMNV10N0045)
In order to see the content, you need to put your browser language to PT-BR.
Also not working that way (but that's normal, because the token varies from recaptcha to recaptcha, right?).
Bad news, u do smth wrong. Your recaptcha solution key must be valid 120sec after receiving (as i remember).
I will check your link bit later.
I don't understand what I did wrong. I follow all the steps, tried with two different api_keys, and nothing seems to work.
The returned token never works. I also attempted another API, same result.
Any news ?
Hi Nope, try connect to this web site and get white page without any data. Use proxy, change language in browser.
Just change your default language to PT-BR, and the data will appear.
Okay, I just need to delete all my other languages. But all is working fine. Make textarea visible Get captcha solution Insert solution ---> Press submit button --->
It's giving you the "Wrong Captcha" error: red alert
Message from the first screen is error from my old try, after this, i receive the second screen with other error(not captcha, as i understand).
you use my code?
Can you share the code you use ?
Nope, I just test this method:
Open page with captcha(manually), than start captcha solving process(with service), get key and try insert it(also manually) and press submit button. Is it working well?
If it works - code must work fine if it doesn't work - u need to check your keys/urls and etc.
To solve recaptcha i use code from example.
Ok, thank you for your time.
To solve recaptcha i use code from example.
- get captcha solving key
Where is this example ? Sorry, not finding him.
Did you use NoCaptchaTask
or NoCaptchaTaskProxyless
?
I use Proxyless
cause I didn't need any proxy.
Last question, which link did you use do bypass the recapactha ?
https://www.google.com/recaptcha/api2/demo
-> this one pointing to the google demo or the one from the website ?
I use link to page with captcha. For your captcha i use your link.
I understand what I was doing wrong....
I was using the link for the captcha
instead I was suppose to use the link for the website
containing the captcha.
Thank you for you patience and for this amazing library.
First, thank's for this library.
I'm using the following code to bypass a "Recaptcha":
Problem: After click the button to submit the form, the page returns an error concerning the "Captcha wrong".
Can someone help me ?