A simple Dank Memer captcha-solving API. Some code credit to @BridgeSenseDev.
For support (NOT STUPID QUESTIONS), join our Discord Server.
This list assumes you understand how to use your computer's terminal/PowerShell and have Python installed.
- Clone the repo:
git clone https://github.com/VillainsRule/DankCaptchaAPI.git
- Open the directory:
cd DankCaptchaAPI
- Install dependencies (this WILL take a while):
pip install -r requirements.txt
- 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 :)
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);
});
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 :)