allcaptcha-puppeteer
v1.0.0
Published
allcaptcha.ru/allcaptcha.com
Maintainers
Keywords
Readme
NPM package for ALLCAPTCHA
Install
npm install puppeteer puppeteer-extra allcaptcha-puppeteerUse
Full FAQ in site ALLCAPTCHA
Full Example
import puppeteer from "puppeteer-extra";
import puppeteerStream from "allcaptcha-puppeteer";
puppeteer.use(
puppeteerStream({
apiKey:"" // YOUR TOKEN
}))
puppeteer.launch({headless:"new"}).then(async browser => {
const page = await browser.newPage()
await page.goto("https://rucaptcha.com/demo");
const solve=await page.solveCustom({message:`TEST`});
console.log(solve)
await browser.close()
})Option
Supported options for page.solveCustom()
| Field | Type | Default value | Required | Description |
| --- |-------------| --- | --- |-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| message | String | "" | No | The message that is sent in the task |
| timeout | Number (ms) | 120_000 | No | The time allotted for the decision |
| nameUser | String | "" | No | The name of the user to whom you need to transfer the task for the solution |
| |
