Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

captchaguru

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

captchaguru

API wrapper for captcha.guru

  • 1.0.0
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
0
decreased by-100%
Maintainers
1
Weekly downloads
 
Created
Source

Captchaguru

JS wrapper for the site Captcha.guru, used to solve captchas.

install

npm i captchaguru

Getting started

const Guru = require("captchaguru");
const solver = new Guru("apiKey", "method", "siteKey", "siteURL");

async function solve() {
    console.log(await solver.solve());
}

solve();

Documentation

/**
 * Guru instance
 * @param {string} apiKey API key to captchaguru
 * @param {string} method Defines which service you're trying to solve (ex hcaptcha)
 * @param {string} siteKey Value of data-sitekey parameter you found on page, for example 93d2dffa-6cad-4031-9c00-4741a03c569d
 * @param {string} pageURL Full URL of the page where you see the hCaptcha, for example http://learn.captcha.guru/ln/hcaptcha/
 * @param {string} proxy Format: login:password@151.142.23.32:3128
 * @param {string} proxyType Type of your proxy: HTTP, HTTPS.
 */
const solver = new Guru("apiKey", "method", "siteKey", "siteURL", "proxy", "proxytype");

/**
 * May take up to 5 seconds (Captchaguru takes a while)
 * @throws On API error
 * @returns {string} Captcha token on successful resolve
 */
solver.solve();

/**
 * Amount to sleep before attempting to check if captchaguru is done with your captcha
 * Default value is 500 (ms)
 * @type {number}
 */
solver.sleepAmount = 500;

Keywords

FAQs

Package last updated on 11 Feb 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc