[go: up one dir, main page]

Skip to content
/ NoCap Public

NodeJS implementation of multiple captcha solving services that return the same errors and formatted responses.

Notifications You must be signed in to change notification settings

zMrKrabz/NoCap

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NoCap

NodeJS implementation of multiple captcha solving services in one wrapper.

Advantages

  • Made in Typescript
  • Uses got as http client, making all functions asynchronous
  • Currently supports 2Captcha and Cap Monster
  • Supports all ReCaptcha V2

Quickstart

Examples of how to use the captcha wrapper

Installation

To install with npm:

npm install node-nocap

or with yarn:

yarn add node-nocap

Creating a new client

2Captcha can be replaced with CapMonster, just assign the correct key.

import NoCap from "node-nocap";

const apiKey = "";
const client = new NoCap("2Captcha", apiKey);

Solving a ReCaptcha challenge

Using the previous client,

(async () => {
  const googlekey = "6Lcg7CMUAAAAANphynKgn9YAgA4tQ2KI_iqRyTwd";
  const pageURL =
    "https://lessons.zennolab.com/captchas/recaptcha/v2_simple.php?level=high";

  const token = await client.reCaptchaV2(googleKey, pageURL);
  console.log(token);
})();

TODO

  • Create a Firefox extension that spoofs page URL so manual solving is possible. Work has been started here.
  • Add support for hcaptcha and manual image recognition.

About

NodeJS implementation of multiple captcha solving services that return the same errors and formatted responses.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published