captcha-solver-provider-anti-captcha
v0.0.7
Published
Captcha solver provider for the anti-captcha service.
Downloads
380
Maintainers
Readme
captcha-solver-provider-anti-captcha
Captcha solver provider for the anti-captcha service.
Install
This module requires node >= 8
.
npm install --save captcha-solver-provider-anti-captcha
API
Table of Contents
CaptchaSolverProviderAntiCaptcha
Extends: CaptchaSolverProvider
Captcha solver provider for the anti-captcha service.
Type: function (opts)
name
Provider name.
Type: string
supportedTaskTypes
Set containing task types supported by this provider.
createTask
Creates a new captcha solving task.
Type: function (opts)
opts
object Optionsopts.type
string Type of captcha to solveopts.image
string? Captcha image to process encoded as a base64 stringopts.websiteURL
string? Website URL for nocaptcha, recaptcha, and funcaptchaopts.websiteKey
string? Recaptcha website keyopts.websiteSToken
string? Secret token for old versions of Recaptchaopts.websitePublicKey
string? Funcaptcha public keyopts.proxyType
string? Proxy type (http/socks4/socks5)opts.proxyAddress
string? Proxy IP address (ipv4/ipv6)opts.proxyPort
(string | number)? Proxy portopts.proxyLogin
string? Proxy login for basic authopts.proxyPassword
string? Proxy passwordopts.userAgent
string? Browser's User-Agent to emulateopts.cookies
string? Additional cookies to emulate
getTaskResult
Fetches the result of a previously created captcha solving task.
Type: function (taskId)
taskId
string Unique task identifier
Related
- captcha-solver - Facilitates the automation of CAPTCHA verification.
- anti-captcha API docs - Anticaptcha v2 API docs.
Disclaimer
Using this software to violate the terms and conditions of any third-party service is strictly against the intent of this software. By using this software, you are acknowledging this fact and absolving the author or any potential liability or wrongdoing it may cause. This software is meant for testing and experimental purposes only, so please act responsibly.
License
MIT © Travis Fischer