bestcaptchasolver
Advanced tools
Comparing version 1.0.9 to 1.1.0
@@ -135,2 +135,19 @@ const fs = require('fs'); | ||
/** | ||
* Submit FunCaptcha | ||
* @param data | ||
* @returns {Promise<any>} | ||
*/ | ||
exports.submit_funcaptcha = function (data) { | ||
var deferred = Q.defer(); | ||
data.access_token = _access_token; | ||
var url = BASE_URL + '/captcha/funcaptcha'; | ||
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; | ||
}; | ||
/** | ||
* Retrieve captcha text or gresponse by ID | ||
@@ -178,2 +195,2 @@ * @param id | ||
return deferred.promise; | ||
}; | ||
}; |
{ | ||
"name": "bestcaptchasolver", | ||
"version": "1.0.9", | ||
"version": "1.1.0", | ||
"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", |
@@ -117,2 +117,17 @@ bestcaptchasolver - Bestcaptchasolver nodeJS client API library | ||
**FunCaptcha (Arkose Labs)** | ||
- page_url | ||
- s_url | ||
- site_key | ||
```javascript | ||
bestcaptchasolver.submit_hcaptcha({ | ||
page_url: 'https://abc.com', | ||
s_url: 'https://api.arkoselabs.com', | ||
site_key: '11111111-1111-1111-1111-111111111111', | ||
// data: '{"x":"y"}', // optional | ||
// affiliate_id: 'ID of affiliate' // optional | ||
}).then(function (id)) { /* use id to retrieve solution */ }; | ||
``` | ||
**Retrieve** | ||
@@ -119,0 +134,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
23871
12
423
169