Answer the question
In order to leave comments, you need to log in
Why is the captcha always unsolved?
In general, I'm trying to solve recaptcha through the rucaptcha service, but the answer always comes, no CAPCHA_NOT_READY
matter how many seconds I wait, this answer still comes, although I'm doing everything right! I even took all the code from their website..
$result = json_decode(file_get_contents("http://2captcha.com/in.php?key=секрет&method=userrecaptcha&googlekey=6LdUlRgUAAAAALWq0c6iKNQ19YMKHc0lngWWkMP0&pageurl=https://drgn.site/bonus&json=1"), true);
if ($result['status'] == 1) {
$urlRes = "http://2captcha.com/res.php?key=секрет&action=get&json=1&id=" . $result['request'];
sleep(20);
$result = json_decode(file_get_contents($urlRes), true);
if ($result['status'] == 0) {
sleep(10);
$result = json_decode(file_get_contents($urlRes), true);
}
debug($result);
}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question