captcha-solver-provider-anti-captcha

0.0.7 • Public • Published

captcha-solver-provider-anti-captcha

Captcha solver provider for the anti-captcha service.

NPM Build Status JavaScript Style Guide

Anticaptcha Logo

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.

Type: Set<string>


createTask

Creates a new captcha solving task.

Type: function (opts)

  • opts object Options
    • opts.type string Type of captcha to solve
    • opts.image string? Captcha image to process encoded as a base64 string
    • opts.websiteURL string? Website URL for nocaptcha, recaptcha, and funcaptcha
    • opts.websiteKey string? Recaptcha website key
    • opts.websiteSToken string? Secret token for old versions of Recaptcha
    • opts.websitePublicKey string? Funcaptcha public key
    • opts.proxyType string? Proxy type (http/socks4/socks5)
    • opts.proxyAddress string? Proxy IP address (ipv4/ipv6)
    • opts.proxyPort (string | number)? Proxy port
    • opts.proxyLogin string? Proxy login for basic auth
    • opts.proxyPassword string? Proxy password
    • opts.userAgent string? Browser's User-Agent to emulate
    • opts.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

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

Package Sidebar

Install

npm i captcha-solver-provider-anti-captcha

Weekly Downloads

23

Version

0.0.7

License

MIT

Unpacked Size

12.5 kB

Total Files

5

Last publish

Collaborators

  • fisch0920