CAPTCHAFORUM
Administrator
The easiest way to quickly integrate 2Captcha into your code to automate solving of any types of captcha.
Installation
2captcha-java artifact is available in Maven Central
Configuration
TwoCaptcha
instance can be created like this:
Code:
TwoCaptcha solver = new TwoCaptcha('YOUR_API_KEY');
Also there are few options that can be configured:
Code:
solver.setSoftId(123);
solver.setCallback("https://your.site/result-receiver");
solver.setDefaultTimeout(120);
solver.setRecaptchaTimeout(600);
solver.setPollingInterval(10);
Documentation https://github.com/2captcha/2captcha-java