
Security News
Deno 2.2 Improves Dependency Management and Expands Node.js Compatibility
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
capsolver-npm
Advanced tools
manage to solve captcha challenges with node
npm i capsolver-npm
Solver
and SolverError
const { Solver, SolverError } = require('capsolver-npm');
const solver = new Solver({
apiKey: 'CAP-XXXXXX ...',
});
async function main() {
await solver
.recaptchav2({
// parameters ...
})
.then((s: any) => {
console.log(s);
})
.catch((e: typeof SolverError) => {
console.log(
`taskId \x1b[33m${e.errorTaskId} \x1b[31m${e.errorCode} \x1b[0m(${e.errorDescription})`
);
});
}
main();
proxy
is required, match the following pattern: ip:port:user:pass
Figure out here.
null
as an optional parameter.Solving AwsWaf with Classification ... | Solving AwsWaf ...
await solver.awswafclassification({
websiteURL: null,
images,
question,
});
await solver.awswaf({
proxy,
websiteURL,
awsKey: null,
awsIv: null,
awsContext: null,
awsChallengeJS: null,
});
await solver.awswafproxyless({
websiteURL,
awsKey: null,
awsIv: null,
awsContext: null,
awsChallengeJS: null,
});
await solver.datadome({
proxy,
websiteURL,
captchaUrl,
userAgent,
});
await solver.friendlycaptchaproxyless({
websiteURL,
websiteKey,
});
await solver.geetest({
proxy,
websiteURL,
gt,
challenge,
captchaId: null,
geetestApiServerSubdomain: null,
});
await solver.geetestproxyless({
websiteURL,
gt,
challenge,
captchaId: null,
geetestApiServerSubdomain: null,
});
await solver.image2text({
body,
module: null,
score: null,
});
await solver.imperva({
websiteURL,
reeseScriptURL,
});
await solver.mtcaptcha({
proxy,
websiteURL,
websiteKey,
});
Solving ReCaptchaV2 with Classification ... | Solving ReCaptchaV2 / Enterprise ...
await solver.recaptchav2classification({
websiteURL: null,
question,
image,
});
await solver.recaptchav2({
proxy,
websiteURL,
websiteKey,
userAgent: null,
isInvisible: null,
pageAction: null,
enterprisePayload: null,
apiDomain: null,
cookies: null,
});
await solver.recaptchav2proxyless({
websiteURL,
websiteKey,
userAgent: null,
isInvisible: null,
pageAction: null,
enterprisePayload: null,
apiDomain: null,
cookies: null,
});
await solver.recaptchav2enterprise({
proxy,
websiteURL,
websiteKey,
userAgent: null,
enterprisePayload: null,
apiDomain: null,
cookies: null,
});
await solver.recaptchav2enterpriseproxyless({
websiteURL,
websiteKey,
userAgent: null,
enterprisePayload: null,
apiDomain: null,
cookies: null,
});
Solving ReCaptchaV3 / Enterprise ...
await solver.recaptchav3({
proxy,
websiteURL,
websiteKey,
pageAction,
enterprisePayload: null,
apiDomain: null,
cookies: null,
});
await solver.recaptchav3proxyless({
websiteURL,
websiteKey,
pageAction,
enterprisePayload: null,
apiDomain: null,
cookies: null,
});
await solver.recaptchav3enterprise({
proxy,
websiteURL,
websiteKey,
pageAction,
enterprisePayload: null,
apiDomain: null,
cookies: null,
});
await solver.recaptchav3enterpriseproxyless({
websiteURL,
websiteKey,
pageAction,
enterprisePayload: null,
apiDomain: null,
cookies: null,
});
await solver.turnstileproxyless({
websiteURL,
websiteKey,
metadata: null,
});
await solver.visionengine({
websiteURL: null,
module,
image,
imageBackground,
question: null,
});
By using this package, you acknowledge and agree that:
FAQs
manage to solve captcha challenges with node
The npm package capsolver-npm receives a total of 10,745 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
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
Security News
React's CRA deprecation announcement sparked community criticism over framework recommendations, leading to quick updates acknowledging build tools like Vite as valid alternatives.
Security News
Ransomware payment rates hit an all-time low in 2024 as law enforcement crackdowns, stronger defenses, and shifting policies make attacks riskier and less profitable.