Giter VIP home page Giter VIP logo

notsapinho / puppeteer-extra-plugin-recaptcha-capmonster Goto Github PK

View Code? Open in Web Editor NEW
12.0 1.0 6.0 15 KB

A puppeteer-extra plugin that implements CapMonster support for puppeteer-extra-plugin-recaptcha.

License: MIT License

TypeScript 74.97% JavaScript 25.03%
2captcha hcaptcha captcha capmonster puppeteer puppeteer-extra puppeteer-plugin plugin puppeteer-extra-plugin recaptcha puppeteer-recaptcha puppeteer-extra-recaptcha-plugin

puppeteer-extra-plugin-recaptcha-capmonster's People

Contributors

notsapinho avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

puppeteer-extra-plugin-recaptcha-capmonster's Issues

Proxy support

Does this library supports proxy like the extra-plugin-recaptcha with 2captcha?

Getting unhandledRejection due to missing await keyword

The call to the solver.decodeReCaptcha method is missing an await keyword, so any error in it (e.g. 504 Gateway error) will not be caught as expected and will lead to unhandledRejection in the NodeJS process.

image

After adding the await keyword (and the async keyword on the returned method), an error is thrown as expected, but the end result object that is returned to the client, has the Captcha in the solved array in addition to the error property, which is not consistent with the behavior of the puppeteer-extra-plugin-recaptcha. Expected behavior is that the solved array will be empty when an error is thrown.

Don't Worked with me :(

i did changes in project but it's continuing using 2recatpcha (provider old that i was using)

Screen Shot 2022-03-07 at 23 25 55
Screen Shot 2022-03-07 at 23 27 52

Submitting captcha with no submit button

Hi!

I am trying to use cap monster services for google captchas that are returned to the user while scraping google search as a part
of a large-scale scraping service
These captchas don't have submit button, and I don't seem to be able to figure out how to trigger them like the example shows.

Would it be possible if you could clarify how this plugin could be used to make it work for that use case?

P.S. So far I have tried these

                // const checkbox = await recaptchaFrame.$(
                //     ".recaptcha-checkbox-border"
                // );

                await this.page.solveRecaptchas();
                await Promise.all([
                    // checkbox.click({ delay: rdn(30, 150) })
                    // this.page.waitForNavigation(),
                    // this.page.keyboard.press("Enter"),
                    // this.sleep(1000000)
                ])

image

Many thanks!
Ivica

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.