UNPKG

@2captcha/captcha-solver

Version:

JavaScript library for easy integration with the API of 2captcha captcha solving service to bypass reCAPTCHA, hCaptcha, funcaptcha, geetest and solve any other captchas.

26 lines (25 loc) 861 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.softId = exports.supportedProviders = void 0; const twoCaptchaName = '2captcha'; const twoCaptchaIn = 'https://2captcha.com/in.php'; const twoCaptchaRes = 'https://2captcha.com/res.php'; const ruCaptchaName = 'ruCaptcha'; const ruCaptchaIn = 'https://rucaptcha.com/in.php'; const ruCaptchaRes = 'https://rucaptcha.com/res.php'; // TODO: add the ability to specify softid in the constructor of the `Captcha` class const softId = 4587; exports.softId = softId; const supportedProviders = { twoCaptcha: { name: twoCaptchaName, in: twoCaptchaIn, res: twoCaptchaRes }, ruCaptcha: { name: ruCaptchaName, in: ruCaptchaIn, res: ruCaptchaRes } }; exports.supportedProviders = supportedProviders;