A
A
alex5e2015-03-11 12:23:55
Java
alex5e, 2015-03-11 12:23:55

How to correctly send captcha to antigate.com in java?

Good afternoon. Faced the problem of captcha recognition through the antigate service. Used the example referenced by antigate itself.

File f = new File("сapcha.png");
        FileInputStream is = new FileInputStream(f);
        //** You may check your antigate.com balance first **/
        String balance = CapchaUtils.getBalance("YOURAPIKEY");
        /** Use CapchaAnswer() method to get the capcha text, returns error message if any **/
                answer = CapchaBypass.CapchaAnswer(is, "YOURAPIKEY", null, null, null);
        } catch (IOException | InterruptedException e) {
                e.printStackTrace();
        }

The problem is that I manage to get the current balance of the key and the answer to the captcha from Antigate only once, with subsequent requests the answer does not come. And I can’t access the antigate site (most likely it bans me). Maybe there are some other wrappers or someone worked with antigate on java, tell me ..

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question