[SOLVED] if you don’t want read all, is it:
Step to step capmonster settings:
In config RL select “CUSTOM TWO CAPTCHA”
fill with your private key, host: api.capmonster.cloud and port 80
No needed to edit windows hosts file
Hi everyone,
I already read this guide: How to insert a reCaptcha v2 solution
But it’s my first time using a recaptcha service, and I will have this new experience with OB2.
Reading about 2Captcha demo
We have a two API endpoints
* `http://2captcha.com/in.php` is used to submit a captcha
* `http://2captcha.com/res.php` is used to get the captcha solution
steps to use the service is:
1- get api key
2- submit http post to in.php
3- 20 seconds timeout
4- http get to solved captcha
But looking into Recaptcha V2 block we have 2 inputs
siteKey = "6LfW6wATAAAAAHLqO2pb8bDBahxlMxNdo9g947u9"
siteUrl = "https://recaptcha-demo.appspot.com/recaptcha-v2-checkbox.php"
Where goes 2captcha in.php and res.php in RecaptchaV2 block?
Any help?
PS: I am just asking before try make it because I need choose and pay a Recaptchav2 service so I am looking for 2captcha and capmonster, I also accept suggestions
Thanks
Edit:
Following this guide 2captcha API I do this:
BLOCK:SolveRecaptchaV2
DISABLED
siteKey = "6Lca8-wUAAAAAF9TZlquhJN6AsZaiRmxC1jZAyTx"
siteUrl = "https://targeturl/search/"
=> CAP @solveRecaptchaV2Output
ENDBLOCK
BLOCK:HttpRequest
url = "https://2captcha.com/"
method = POST
customHeaders = {}
TYPE:STANDARD
$"in.php?key=5fbefff5e12d58fcbe1b4ae8b6acb05c&method=userrecaptcha&googlekey=6Lca8-wUAAAAAF9TZlquhJN6AsZaiRmxC1jZAyTx&pageurl=https://targeturl/search/"
"application/x-www-form-urlencoded"
ENDBLOCK
BLOCK:Parse
LABEL:Parse ID Captcha
input = $"data.RESPONSECODE"
leftDelim = "OK|"
MODE:LR
=> CAP @parseidcaptcha
ENDBLOCK
BLOCK:HttpRequest
url = "http://2captcha.com/res.php"
customHeaders = {}
TYPE:STANDARD
$"key=5fbefff5e12d58fcbe1b4ae8b6acb05c&action=get&id=<input.parseidcaptcha>"
"application/x-www-form-urlencoded"
ENDBLOCK
BLOCK:Parse
LABEL:Parse Solution
input = @data.RESPONSECODE
MODE:LR
=> CAP @solution
ENDBLOCK
BLOCK:PuppeteerExecuteJs
expression = $"document.getElementById(\"g-recaptcha-response\").innerHTML=\"<input.solution>\";"
=> VAR @puppeteerExecuteJsOutput
ENDBLOCK
BLOCK:PuppeteerSubmit
ENDBLOCK
It will work?
Do not tested because don’t have a key yet, need buy bitcoins and acquiring them is increasingly bureaucratic despite having money to pay.
I still don’t understand how the recaptcha block works since there is only space to define the URL and the google key, where does the 2captcha key go?