Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

bestcaptchasolver

Package Overview
Dependencies
Maintainers
1
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bestcaptchasolver - npm Package Compare versions

Comparing version 1.1.1 to 1.1.2

examples/geetestv4.js

17

lib/bestcaptchasolver.js

@@ -101,2 +101,19 @@ const fs = require('fs');

/**
* Submit GeeTestV4
* @param data
* @returns {Promise<any>}
*/
exports.submit_geetest_v4 = function (data) {
var deferred = Q.defer();
data.access_token = _access_token;
var url = BASE_URL + '/captcha/geetestv4';
R.post(url, data).then(function (resp) {
return deferred.resolve(resp.getBody().id);
}).catch(function (err) {
return deferred.reject(new Error(err.getBody().error));
});
return deferred.promise;
};
/**
* Submit Capy

@@ -103,0 +120,0 @@ * @param data

2

package.json
{
"name": "bestcaptchasolver",
"version": "1.1.1",
"version": "1.1.2",
"description": "bestcaptchasolve-nodejs is a super easy to use bypass captcha nodeJS API wrapper for bestcaptchasolver.com captcha service ",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -95,2 +95,17 @@ bestcaptchasolver - Bestcaptchasolver nodeJS client API library

**GeetestV4**
- domain
- captchaid
**Important:** This is not the captchaid that's in our system that you receive while submitting a captcha. Gather this from HTML source of page with geetestv4 captcha, inside the `<script>` tag you'll find a link that looks like this: https://i.imgur.com/XcZd47y.png
```javascript
bestcaptchasolver.submit_geetest_v4({
domain: 'https://example.com',
captchaid: '647f5ed2ed8acb4be36784e01556bb71',
// affiliate_id: 'ID of affiliate' // optional
}).then(function (id)) { /* use id to retrieve solution */ };
```
**Capy**

@@ -97,0 +112,0 @@ - page_url

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc