Hi.
First I found a template here in the russian forum that solves the captcha clicking the right images, after a while I was getting more and more dynamic captchas which updated the pictures.
Then I found a template solving it by using audio in the russian forum, now and then my ip gets banned, therefor im looking to solve it using 2captchas latest technology and wonder if there is a template for it around.
2captcha provoide an c# example but im not sure how to use it, and would be happy if anyone has any information or tips.
Thanks
https://2captcha.com/newapi-recaptcha-en
First I found a template here in the russian forum that solves the captcha clicking the right images, after a while I was getting more and more dynamic captchas which updated the pictures.
Then I found a template solving it by using audio in the russian forum, now and then my ip gets banned, therefor im looking to solve it using 2captchas latest technology and wonder if there is a template for it around.
2captcha provoide an c# example but im not sure how to use it, and would be happy if anyone has any information or tips.
Thanks
Код:
public string SendRecaptchav2Request()
{
//POST
try
{
System.Net.ServicePointManager.Expect100Continue = false;
var request = (HttpWebRequest)WebRequest.Create("http://2captcha.com/in.php");
var postData = "key=2captcha API KEY&method=userrecaptcha&googlekey=GOOGLE KEY";//&pageurl=yourpageurl"; ;
var data = Encoding.ASCII.GetBytes(postData);
request.Method = "POST";
request.ContentType = "application/x-www-form-urlencoded";
request.ContentLength = data.Length;
using (var stream = request.GetRequestStream())
{
stream.Write(data, 0, data.Length);
}
var response = (HttpWebResponse)request.GetResponse();
var responseString = new StreamReader(response.GetResponseStream()).ReadToEnd();
// GET
if (responseString.Contains("OK|"))
{
return responseString.Substring(0, 3);
}
else
{
return "Error";
}
}
catch (Exception e)
{
string tt = e.Message;
return tt;
}
}