Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support to enterprise recaptcha #11

Open
regisroots opened this issue Jun 27, 2024 · 2 comments
Open

Support to enterprise recaptcha #11

regisroots opened this issue Jun 27, 2024 · 2 comments
Labels
question Further information is requested

Comments

@regisroots
Copy link

How i can use to solve enterprise recaptchas? i try on this way but no success

const recaptchaToken = await frame.$eval('#recaptcha-token', el => el.value); // to get recaptcha token data-s

    const resultadoCaptcha = await solver.recaptcha({
        pageurl: 'https://help.steampowered.com/pt-br/wizard/HelpWithLoginInfo?issueid=406',
        googlekey: '6LfNGb0ZAAAAAI_j6L2y1eXXWAoSbtjvccEcEq2P',
        enterprise: true,
        "s": recaptchaToken,
      });

It returns an answer but the problem is that it is always wrong, I think the problem is sending the data-s parameter to 2captcha.

@dzmitry-duboyski
Copy link
Collaborator

@regisroots hello. You need send reCAPTCHA Enterprise like this:

const resultadoCaptcha = await solver.recaptcha({
    pageurl: 'https://2captcha.com/demo/recaptcha-v2',
    googlekey: '6LfD3PIbAAAAAJs_eEHvoOl75_83eXSqpPSRFJ_u',
    enterprise: 1,
    datas: "The value of the data-s parameter found on the page"
})

@dzmitry-duboyski
Copy link
Collaborator

@regisroots Let me know if you have any more problems.

@dzmitry-duboyski dzmitry-duboyski added the question Further information is requested label Jul 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants