deathbycaptcha-api

v1.0.1
A wrapper around the DeathByCaptcha API

DeathByCaptcha

Discord Banner 2

Discord Shield Size Downloads

A wrapper around the DeathByCaptcha API
DeathByCaptcha's Website

Features

  • Promise based solving.
  • NodeJS & Browser support
  • Uses node-fetch for pre njs-16 support
  • Fluent Typings & TS Support
  • Account integration
  • Proxy Support
  • Invalid Solve Reporting
  • ES6+ Modules

Currently supports:

  • Image Captchas / base64
  • hCaptcha

Install

npm install deathbycaptcha-api
yarn add deathbycaptcha-api

Usage

Basic Usage

import * as DeathByCapthca from 'deathbycaptcha-api';

const solver = new DeathByCapthca.Solver("Your Token");

const response = await solver.hCaptcha("e1715201-770b-4f61-87da-523133844aec", "https://vastus.github.io/login").then((res) => {
    console.log(res);
});

Image Captcha via NodeJS

import * as DeathByCapthca from 'deathbycaptcha-api';
import fs from "fs";
const solver = new DeathByCapthca.Solver("Your Token");

const response = await solver.image(fs.readFileSync("./captcha.png")).then((res) => {
    console.log(res);
});

Proxied Solve:

import * as DeathByCapthca from 'deathbycaptcha-api';

const solver = new DeathByCapthca.Solver("Your Token");

const response = await solver.hCaptcha("e1715201-770b-4f61-87da-523133844aec", "https://vastus.github.io/login", {
    proxy: "http://username:[email protected]:8080",
    proxytype: "HTTP" // Only HTTP is supported at the moment.
}).then((res) => {
    console.log(res);
});

Commit Guidelines

The latest version of the code base will always be under the 'next' branch!

  • All pull requiests must provide a valid reason for the change or implementation
  • All CORE CHANGES require an issue with reasoning made before a PR will even be addressed.
  • All PR's must follow the general structure of the code base
  • If you have questions, feel free to make an issue and i'll get to it right away!

Buy Me A Coffee
npm i deathbycaptcha-api

Metadata

  • MIT
  • Whatever
  • Furry
  • released 4/19/2023

Downloads

Maintainers