Catalog npm
Back to packageRELEASE DETAILS

1.6.0

npm

24captcha

A module to solve captchas using 24captcha.online

24captcha24captcha.onlinecaptchacaptchassolver
Published10 Jul 2024
Direct dependencies1
Transitive dependenciesNot calculated

README

Current package documentation

24captcha

A module to solve captchas using 24captcha.online

Usage

const CaptchaSolver = require('24captcha');

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
    proxyType: 'HTTP', 
  };

  const solver = new CaptchaSolver(config);

  try {
 
    let captchaKey = await solver.solveCaptcha(captcha);
    console.log('Captcha solved successfully (json = 1, enterprise = true):', captchaKey);


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

main();

Contact

Discord

Elminsterxld

Telegram

t.me/Elminsterxld

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Declared dependencies 1

Native requirements
1 direct targetsNot calculated transitive count
Package / targetRequirementRelationship
node-fetch
Environment
{
  "local_name": "node-fetch",
  "alias": false,
  "peer_metadata": null
}
2.7.0runtime

Distribution files

1 collected
Distribution 1

Source distribution

Source file
Checksums from source
{
  "integrity": "sha512-zeyAwc/HoFuc+4snjAhZZptPSiWFVPtJ0zkruEWCLk29bROagIGRckjlgb0zbI+LG4ZF/Gx/dGelMD0dweeFQA==",
  "shasum": "b0a6697160a0b592cc91ad4f4da4dedc012942b9",
  "tarball": "https://registry.npmjs.org/24captcha/-/24captcha-1.6.0.tgz",
  "fileCount": 4,
  "unpackedSize": 4408,
  "signatures": [
    {
      "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA",
      "sig": "MEQCIDckt3V4xjRA2i4YRp8DTs79XfSFEU1V8o7J2+qthEOPAiBRomGYRmGFSxPU2OGVflT/3VewVTuwkTmJKqRXZjTkgA=="
    }
  ]
}

Metadata history

Meaningful changes
Current collected state Current

Observed since 20 Oct, 19:03 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package_version:4d71a2df433ad2d63c4149daeb292ca630de342bd48a9115e67f31026171f4b1

Other collected versions

1.5.09 Jul1.4.09 JulView all collected versions →