Puppeteer-sharp-extra icon indicating copy to clipboard operation
Puppeteer-sharp-extra copied to clipboard

hCaptcha seems to fail?

Open Mmalherbe opened this issue 3 years ago • 8 comments

Hey!

I'm wondering if I did something wrong or if the captcha plugin isn't able to do hCaptcha.

I set it up with TwoCaptcha ( With API KEY of course).

` var recaptchaPlugin = new RecaptchaPlugin(new TwoCaptcha("35cc0db466ebea493d132aca44b0e745")); extra.Use(recaptchaPlugin); var browser = await extra.LaunchAsync(new LaunchOptions() { Headless = false,}

var captchaResult = recaptchaPlugin.SolveCaptchaAsync(page); `

Where the SolveCaptchaAsync throws an innerexception

Mmalherbe avatar Dec 21 '21 08:12 Mmalherbe

at PuppeteerExtraSharp.Plugins.Recaptcha.Recaptcha.<GetKeyAsync>d__4.MoveNext() at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at System.Runtime.CompilerServices.TaskAwaiter1.GetResult() at PuppeteerExtraSharp.Plugins.Recaptcha.Recaptcha.<Solve>d__3.MoveNext()`

"Recaptcha key not found!" ( Sorry just found the actual exception)

Mmalherbe avatar Dec 21 '21 11:12 Mmalherbe

Hi, Recaptcha plugin hasn't been updated for a long time. It is still able to solve V2 ReCaptcha, but doesn't support other versions of captcha. I saw that the original plugin was updated and now can solve a lot of captchas, so I will try to update c# plugin this weekend

Overmiind avatar Dec 21 '21 13:12 Overmiind

Awesome! 🤞

Mmalherbe avatar Dec 21 '21 13:12 Mmalherbe

Merry xmas!

Any chance you can give an ETA when it will be updated?

Mmalherbe avatar Dec 26 '21 11:12 Mmalherbe

@Overmiind Hi buddy, there is any chances of seing the hcaptcha support soon or absolutly not ?

Thanks for your work

Velka-DEV avatar Jan 25 '22 20:01 Velka-DEV

@Overmiind Any update on if you'll do this? Or should I go check a diff plugin

Mmalherbe avatar Jan 29 '22 10:01 Mmalherbe

Hi, I'm sorry to keep you waiting, I started to rewrite Recaptcha and Hcaptcha plugin about a month ago, but now a don't have enough time for this. I can't give you any prediction, I have almost done with Recaptcha, but I should also write Hcaptcha handler and tests.

Overmiind avatar Jan 30 '22 16:01 Overmiind

Hi, I'm sorry to keep you waiting, I started to rewrite Recaptcha and Hcaptcha plugin about a month ago, but now a don't have enough time for this. I can't give you any prediction, I have almost done with Recaptcha, but I should also write Hcaptcha handler and tests.

Awesome!

cant wait for the HCaptcha one 🤞

Mmalherbe avatar Jan 30 '22 17:01 Mmalherbe