1.0.3 • Published 2 years ago

1stcaptcha v1.0.3

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

1stCaptcha package for NodeJS

1stcaptcha.com package for NodeJS

Solver recaptchaV2, recaptchaV3, hcaptcha, funcaptcha, imageToText, Zalo Captcha,.... Super fast and cheapest.

Install

npm install 1stcaptcha
yarn add 1stcaptcha

Usage

init client

const {OneStCaptchaClient} = require("1stcaptcha");

const apiKey = "YOUR_API_KEY";
const client = new OneStCaptchaClient(apiKey);

solver recaptcha v2:

(async () => {
  const result = await client.solveRecaptchaV2ProxyLess(
    "https://www.google.com/recaptcha/api2/demo",
    "6Le-wvkSAAAAAPBMRTvw0Q4Muexq9bi0DJwx_mJ-"
  );
  console.log(result);
})();

solver recaptcha v2 enterprise:

(async () => {
  const result = await client.solveRecaptchaV2EnterpriseProxyLess(
    "YOUR_SITE_URL",
    "YOUR_SITE_KEY"
  );
  if (result.code === 0) {
    console.log(result.token);
  } else {
    console.log(result.messeage);
  }
})()

solver recaptcha v3:

(async () => {
  const result = await client.solveRecaptchaV3ProxyLess(
    "YOUR_SITE_URL",
    "YOUR_SITE_KEY",
    "YOUR_ACTION"
  );
  console.log(result);
})()

solver recaptcha v3 enterprise:

(async () => {
  const result = await client.solveRecaptchaV3EnterpriseProxyLess("YOUR_SITE_URL", "YOUR_SITE_KEY", "YOUR_ACTION");
  if (result.code === 0) {
    console.log(result.token);
    console.log(result.userAgent)
  } else {
    console.log(result.messeage);
  }
})()

solve image2text

(async () => {
  const result = await client.imageToText("BASE_64_IMG_DATA");
  console.log(result)
})()

solve recaptchaClick

(async () => {
  const result = await client.recaptchaClick(
    "https://www.google.com/recaptcha/api2/payload?p=06AAYGu2SS-VoFh3lhBvNxEIR5EmdEoqpJ1JVtMOvqYII1DGQbfui2S_ela5OF3pO4pxfjMQxRkUMm2szwznSZNoWruONOUTUcbxwMn2mVimdFm6oX0_qAyQJ0EtjNSpOl_H4kFjMPOZIr2i11TKRTG447zgqw_XlhnvR3NKNtfOIZc0V1_4H_OvOAY6IwgYjaflJWHMIXMvNEnt7rOTpC3WPw4VfbkCx20w&k=6Le-wvkSAAAAAPBMRTvw0Q4Muexq9bi0DJwx_mJ-",
    "Select all squares with bicycles"
  );
  console.log(result);
})()

funcaptcha

(async () => {
  const result = await client.funCaptchaProxyLess(
    "https://outlook.com/",
    "2CB16598-CB82-4CF7-B332-5990DB66F3AB"
  );
  if (result.code === 0) {
    console.log(result.token);
  } else {
    console.log(result.messeage);
  }
})()

hcaptcha

(async () => {
  const result = await client.hCaptchaProxyLess(
    "https://www.hcaptcha.com/",
    "10000000-ffff-ffff-ffff-000000000001"
  );
  if (result.code === 0) {
    console.log(result.token);
  } else {
    console.log(result.messeage);
  }
})()
1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago