Security News
Weekly Downloads Now Available in npm Package Search Results
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
capsolver-npm
Advanced tools
Manage to solve captcha challenges with AI in a NodeJS app (captcha service based).
🔥 Promise based 🔥 Catch TaskException with error code and description
npm i capsolver-npm
❗ You need to debug each website and the captcha use case, in order to adjust the correct implementation parameters.
Solver
:const { Solver } = require("capsolver-npm");
const solver = new Solver("CAP-XXXXXX ..."); // one solver by apikey
api.capsolver.com
supported task.Request a custom tasks (in case this lib doesn't support it yet):
.runCustomTaskType({})
.mustPoll
indicates if this task requires to poll the solution after create the task.{ proxy: "ip:port:user:pass", ... parameters }
const { Solver } = require("capsolver-npm");
const solver = new Solver("CAP-XXXXXX ...");
await solver.runCustomTaskType({
task: {
type: "AkamaiTask", // suppose this task exists at docs.capsolver.com
proxy: "ip:port:user:pass" // custom proxy usage
... parameters
}
mustPoll: true
})
.then(solution => { console.log(solution) })
.catch(e => { console.error(e) });
.balance()
.if(await solver.balance() < 5.00){
console.log("Your CapSolver balance is under 5 USD")
}
Figure out here.
null
by default are optional sometimes, it depends on implementation.await solver.recaptchav2({ websiteURL, websiteKey, proxy, pageAction: null, enterprisePayload: null, isInvisible: false, apiDomain: null, userAgent: null, cookie: null });
await solver.recaptchav2proxyless({ websiteURL, websiteKey, pageAction: null, enterprisePayload: null, isInvisible: false, apiDomain: null, userAgent: null, cookie: null });
await solver.recaptchav2enterprise({ websiteURL, websiteKey, proxy, pageAction: null, enterprisePayload: null, isInvisible: false, apiDomain: null, userAgent: null, cookie: null });
await solver.recaptchav2enterpriseproxyless({ websiteURL, websiteKey, pageAction: null, enterprisePayload: null, isInvisible: false, apiDomain: null, userAgent: null, cookie: null });
await solver.recaptchav3({ websiteURL, websiteKey, proxy, pageAction, enterprisePayload: null, apiDomain: null, userAgent: null, cookies: null });
await solver.recaptchav3proxyless({ websiteURL, websiteKey, pageAction, enterprisePayload: null, apiDomain: null, userAgent: null, cookies: null });
await solver.recaptchav3enterprise({ websiteURL, websiteKey, proxy, pageAction, enterprisePayload: null, apiDomain: null, userAgent: null, cookies: null });
await solver.recaptchav3enterpriseproxyless({ websiteURL, websiteKey, pageAction, enterprisePayload: null, apiDomain: null, userAgent: null, cookies: null });
await solver.hcaptcha({ websiteURL, websiteKey, proxy, isInvisible: null, enterprisePayload: null, userAgent: null })
await solver.hcaptchaproxyless({ websiteURL, websiteKey, isInvisible: null, enterprisePayload: null, userAgent: null })
// under manteniance at 27-07-2024
await solver.hcaptchaclassification({ websiteURL: null, websiteKey: null, queries, question })
await solver.funcaptcha({ websiteURL, websitePublicKey, data: null, userAgent: null, proxy });
await solver.funcaptchaproxyless({ websiteURL, websitePublicKey, data: null, userAgent: null })
await solver.funcaptchaclassification({ websiteURL: null, websiteKey: null, images, module: null, question });
await solver.geetest({ websiteURL, gt: null, challenge: null, proxy, geetestApiServerSubdomain: null, captchaId: null });
await solver.geetest_proxyless({ websiteURL, gt: null, challenge: null, captchaId: null, geetestApiServerSubdomain: null });
await solver.datadome({ websiteURL, userAgent, captchaUrl, proxy });
// under manteniance at 27-07-2024
await solver.antiturnstile({ websiteURL, websiteKey, metadata: null });
await.solver.mtcatpcha({ websiteURL, websiteKey, proxy });
await solver.image2text({ websiteURL: null, body, module: null, score: null, caseSensitive: null });
FAQs
Manage to solve captcha challenges with AI in a NodeJS app (captcha service based).
The npm package capsolver-npm receives a total of 3,807 weekly downloads. As such, capsolver-npm popularity was classified as popular.
We found that capsolver-npm demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
Security News
A Stanford study reveals 9.5% of engineers contribute almost nothing, costing tech $90B annually, with remote work fueling the rise of "ghost engineers."
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.