1.7.0 • Published 1 year ago

hcoptchasolver v1.7.0

Weekly downloads
-
License
ISC
Repository
-
Last release
1 year ago

hcoptchasolver

A module to solve captchas using hcoptcha.online

Usage

const CaptchaSolver = require('hcoptchasolver');

async function main() {
  const captcha = {
    captcha_sitekey: 'your_site_key',
     captcha_rqdata: 'your_request_data', // Optional
    pageurl: 'https://discord.com/',
  };

  const config = {
    apiKey: 'your_api_key',
    proxy: 'your_proxy', // username:password@hostname:port
  };

  const solver = new CaptchaSolver(config);

  try {
 
    let captchaKey = await solver.solveCaptcha(captcha);
    console.log('Captcha solved successfully :', captchaKey);
  } catch (error) {
    console.error('Error solving captcha:', error);
  }
}

main();

Contact

Discord

Elminsterxld

Telegram

t.me/Elminsterxld

1.7.0

1 year ago

1.6.0

1 year ago