Overmiind / Puppeteer-sharp-extra

Plugin framework for PuppeteerSharp
MIT License
188 stars 52 forks source link

hCaptcha seems to fail? #34

Open Mmalherbe opened 2 years ago

Mmalherbe commented 2 years ago

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 commented 2 years ago

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.d__3.MoveNext()`

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

Overmiind commented 2 years ago

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

Mmalherbe commented 2 years ago

Awesome! 🤞

Mmalherbe commented 2 years ago

Merry xmas!

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

Velka-DEV commented 2 years ago

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

Thanks for your work

Mmalherbe commented 2 years ago

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

Overmiind commented 2 years ago

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.

Mmalherbe commented 2 years ago

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 🤞