@antiadmin/anticaptchaofficial
Advanced tools
Comparing version 1.0.48 to 1.0.49
{ | ||
"name": "@antiadmin/anticaptchaofficial", | ||
"version": "1.0.48", | ||
"version": "1.0.49", | ||
"description": "Official Anti-Captcha.com npm library", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -103,2 +103,12 @@ ## Official Anti-Captcha.com npm module ## | ||
const captcha = fs.readFileSync('captcha.png', { encoding: 'base64' }); | ||
// Additional flags, see https://anti-captcha.com/apidoc/task-types/ImageToTextTask for description: | ||
// ac.settings.phrase = true; // 2 words | ||
// ac.settings.case = true; // case sensitivity | ||
// ac.settings.numeric = 1; // only numbers | ||
// ac.settings.comment = "only green letters"; // text comment for workers | ||
// ac.settings.math = true; // math operation like 50+2 | ||
// ac.settings.minLength = 1; // minimum amount of characters | ||
// ac.settings.maxLength = 10; // maximum number of characters | ||
// ac.settings.languagePool = 'en'; // language pool | ||
const text = await ac.solveImage(captcha, true); | ||
@@ -105,0 +115,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
49200
432