turnstile-bypass
v1.0.0
Published
Solve Turnstile captchas automatically
Downloads
48
Readme
turnstile-bypass
Solve Turnstile captchas automatically
npm i turnstile-bypassUsage
const TurnstileBypass = require('turnstile-bypass')
const cf = new TurnstileBypass()
const bypass = await cf.solve('https://dexscreener.com')
// => { userAgent, cookies }To allow manual solving of the captcha as a fallback:
const bypass = await cf.solve('https://dexscreener.com', {
interactive: true
})API
cf = new TurnstileBypass()
Create a new Cloudflare Bypass instance.
bypass = await cf.solve(url[, options])
Solve a captcha and get the authorized cookies.
Options:
{
automatic: true, // Try to automatically solve the captcha
interactive: false // Fallback to manual solving of the captcha
}License
MIT
