-
Notifications
You must be signed in to change notification settings - Fork 38
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
Error: Evaluation failed: TypeError: Cannot read property 'src' of null #2
Comments
i tried on windows and linux(debain) i got some Error: Evaluation failed: TypeError: Cannot read property 'src' of null |
(node:5312) UnhandledPromiseRejectionWarning: Error: Evaluation failed: TypeError: Cannot read property 'src' of null |
Thats a cloudflare site. The solver doesn't currently work on cloudflare sites but I will work on fixing this now. Thanks for reporting the issue to me! |
Looks like a few things are different for this websites hcaptcha responses. I'm not entirely sure if this is a universal case for all cloudflare hcaptcha responses but I have fixed this issue. Do you mind sending me a few other sites that use cloudflare to test out if this fix is universal for them all? |
@klotein perfect I'll double check now and push a fix if thats true |
waiting sir, good luck |
Seems like its universal. Going to run a few more quick tests and then a fix will be pushed! Again, thanks for bringing this to my attention. |
You're welcome. |
I was currently in the process of making the image recognition better so that responses were faster so just gotta revert those changes quickly so it'll take a few minutes |
New patch is up, enjoy! |
const puppeteer = require('puppeteer-extra')
const pluginStealth = require('puppeteer-extra-plugin-stealth')
const vision = require("@google-cloud/vision");
const { hcaptchaToken } = require('puppeteer-hcaptcha');
const client = new vision.ImageAnnotatorClient({
keyFilename: "YOUR GOOGLE CREDENTIALS",
});
puppeteer.use(pluginStealth());
(async () => {
})();
The text was updated successfully, but these errors were encountered: