Giter VIP home page Giter VIP logo

dankcaptchaapi's Introduction

Dank Memer Captcha API

A simple Dank Memer captcha-solving API. Some code credit to @BridgeSenseDev.
For support (NOT STUPID QUESTIONS), join our Discord Server.

Installation

This list assumes you understand how to use your computer's terminal/PowerShell and have Python installed.

  1. Clone the repo: git clone https://github.com/VillainsRule/DankCaptchaAPI.git
  2. Open the directory: cd DankCaptchaAPI
  3. Install dependencies (this WILL take a while): pip install -r requirements.txt
  4. Run it!
    a. macs: python3 main.py
    b. win: py main.py
    c. linux: python main.py
    d. if the specified for your OS doesn't work, try the others :)

Usage

Browser Script

const data = { // fill in with your own URLs
  captcha: "https://media.discordapp.net/attachments/0/0/captcha.webp",
  opts: {
    0: "https://cdn.discordapp.com/emojis/0.webp?size=96&quality=lossless",
    1: "https://cdn.discordapp.com/emojis/0.webp?size=96&quality=lossless",
    2: "https://cdn.discordapp.com/emojis/0.webp?size=96&quality=lossless",
    3: "https://cdn.discordapp.com/emojis/0.webp?size=96&quality=lossless",
    4: "https://cdn.discordapp.com/emojis/0.webp?size=96&quality=lossless"
  }
};

fetch('/solve', {
  method: 'POST',
  headers: {
    'Content-Type': 'application/json'
  },
  body: JSON.stringify(data)
}).then((res) => res.json()).then(res => {
  console.log(res);
});

Node Script

Make sure to properly install axios before usage.

const axios = require('axios');

const data = { // fill in with your own URLs
  captcha: "https://media.discordapp.net/attachments/0/0/captcha.webp",
  opts: {
    0: "https://cdn.discordapp.com/emojis/0.webp?size=96&quality=lossless",
    1: "https://cdn.discordapp.com/emojis/0.webp?size=96&quality=lossless",
    2: "https://cdn.discordapp.com/emojis/0.webp?size=96&quality=lossless",
    3: "https://cdn.discordapp.com/emojis/0.webp?size=96&quality=lossless",
    4: "https://cdn.discordapp.com/emojis/0.webp?size=96&quality=lossless"
  }
};

axios.post('http://localhost:42003/solve', data).then((res) => {
  console.log(res.data);
});


enjoy the solver :)

dankcaptchaapi's People

Contributors

villainsrule avatar build1ust avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.