
Security News
Open Source Maintainers Feeling the Weight of the EU’s Cyber Resilience Act
The EU Cyber Resilience Act is prompting compliance requests that open source maintainers may not be obligated or equipped to handle.
capsolver-npm
Advanced tools
manage to solve captcha challenges with node
npm i capsolver-npm
Solver
and SolverError
import { Solver, SolverError } from 'capsolver-npm';
const solver = new Solver({
apiKey: 'CAP-XXXXXX ...',
});
const main = async (): Promise<void> => {
await solver
.turnstileproxyless({
websiteURL: 'https://peet.ws/turnstile-test/non-interactive.html',
websiteKey: '...',
metadata: { action: 'login', cdata: 'xxxx-xxxx-xxxx-xxxx-example-cdata' },
})
.then((s: any) => {
console.log(s);
})
.catch((e: SolverError) => {
console.error(`${e.errorTaskId} - ${e.errorCode} - ${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 2,068 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 1 open source maintainer 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
The EU Cyber Resilience Act is prompting compliance requests that open source maintainers may not be obligated or equipped to handle.
Security News
Crates.io adds Trusted Publishing support, enabling secure GitHub Actions-based crate releases without long-lived API tokens.
Research
/Security News
Undocumented protestware found in 28 npm packages disrupts UI for Russian-language users visiting Russian and Belarusian domains.