com.twocaptcha.captcha.KeyCaptcha Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of 2captcha-java Show documentation
Show all versions of 2captcha-java Show documentation
Java library for easy integration with the API of 2captcha captcha solving service to bypass recaptcha, hcaptcha, funcaptcha, geetest and solve any other captchas.
The newest version!
package com.twocaptcha.captcha;
public class KeyCaptcha extends Captcha {
public KeyCaptcha() {
super();
params.put("method", "keycaptcha");
}
public void setUserId(int userId) {
setUserId(String.valueOf(userId));
}
public void setUserId(String userId) {
params.put("s_s_c_user_id", userId);
}
public void setSessionId(String sessionId) {
params.put("s_s_c_session_id", sessionId);
}
public void setWebServerSign(String sign) {
params.put("s_s_c_web_server_sign", sign);
}
public void setWebServerSign2(String sign) {
params.put("s_s_c_web_server_sign2", sign);
}
public void setUrl(String url) {
params.put("pageurl", url);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy