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
Extends: CaptchaSolverProvider
Captcha solver provider for the anti-captcha service.
Type: function (opts)
Provider name.
Type: string
Set containing task types supported by this provider.
Type: Set<string>
Creates a new captcha solving task.
Type: function (opts)
opts
object Options
opts.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
Fetches the result of a previously created captcha solving task.
Type: function (taskId)
taskId
string Unique task identifier
Related
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