Unrecognized captcha not sent to service

irishsoul

Новичок
Регистрация
09.04.2019
Сообщения
2
Благодарностей
0
Баллы
1
Hi, I'm trying to solve a captcha which fails with the universal module. I'm expecting CapMonster to send it to a paid captcha service to get it solved, but I don't see the captcha going thru. I tried both with 2captcha and Antigate api.

This is what I see in the log:
Код:
2019-04-09 01:44:06.5071|CaptchaWebService: ToInterceptionQueue put it to the interception queue. ID = 22|
2019-04-09 01:44:06.5071|CaptchaWebService: Antigate API request was parsed and was sent to the interception queue|
2019-04-09 01:44:06.5227|CaptchaWebService: MainAnalysis get the descriptor from the interception queue. ID = 22|
2019-04-09 01:44:06.5227|CaptchaWebService: IdentifyTypeOfCaptcha are deteting type of module|
2019-04-09 01:44:06.5227|CaptchaWebService: ToRecognizeQueue put it to the recognize queue. ID = 22|
2019-04-09 01:44:06.5227|CaptchaWebService: TypeDetector type was detected: ZennoLab.universal, put it to the recognize queue. ID = 22|
2019-04-09 01:44:06.5383|CaptchaWebService: MainRecognize get the descriptor and recognize via "ZennoLab.universal" module. ID = 22|
2019-04-09 01:44:06.5383|CaptchaWebService: ToProcessingQueue put it to the processing queue. ID = 22|
2019-04-09 01:44:06.5539|CaptchaWebService: Try to send to the "" service for recognize the captcha. ID = 22|
2019-04-09 01:44:06.5539|CaptchaWebService: SendToServiceUnsolvableCaptcha unknown service "", put it to the results queue. ID = 22|
2019-04-09 01:44:06.5539|CaptchaWebService: MainProcessing get the descriptor and recognize via "" service. ID = 22|
2captcha and AntiGate are both enabled on the "Emulate captcha-services" tab.
I've set "Recognize automatically if probability is not less than 100%" (to see if that was the problem) and "Send captcha to service if it has not been recognized" is checked.
The captcha is submitted to Capmonster, who tries to solve with the universal module and just returns an empty answer.

This is my code:
Код:
post_fields = {'key': 'xxx', 'method': 'base64', 'body': encoded_img}
response = r.post('http://2captcha.com/in.php', data=post_fields)
What am I missing / doing wrong?
 

VladZen

Administrator
Команда форума
Регистрация
05.11.2014
Сообщения
22 231
Благодарностей
5 844
Баллы
113
Do you have accounts on these captcha services? Do you set real API key for them in ZP settings?
If you disable emulation of these services in CapMonster, are captchas sent to them?
 

irishsoul

Новичок
Регистрация
09.04.2019
Сообщения
2
Благодарностей
0
Баллы
1
Yes, I do have accounts with both of them. I don't use CapMonster with ZennoPoster, I use it with my custom python program, maybe that's the problem?
If I disable emulation captchas get send correctly to both 2captcha or anticaptcha.
CapMonster is working fine, it's just that it doesn't send the captcha to the service if it fails recognition.
I don't know if I have to pass an additional parameter to enable this behaviour or if it's just not working for my purpose (python script interfacing with CapMonster)
 

Кто просматривает тему: (Всего: 1, Пользователи: 0, Гости: 1)