diff --git a/AntiCaptcha/AntiCaptcha.cs b/AntiCaptcha/AntiCaptcha.cs index d70a22f..a370032 100644 --- a/AntiCaptcha/AntiCaptcha.cs +++ b/AntiCaptcha/AntiCaptcha.cs @@ -252,6 +252,13 @@ public async Task SolveHCaptcha(string siteKey, string pageUr } }; + if (proxy.IsAuth()) + { + var taskDictionary = dictionary["task"] as Dictionary; + taskDictionary.Add("proxyLogin", proxy.Login); + taskDictionary.Add("proxyPassword", proxy.Password); + } + var result = await Solve(10, dictionary, cancellationToken).ConfigureAwait(false); if (!result.Success) diff --git a/AntiCaptcha/AntiCaptcha.csproj b/AntiCaptcha/AntiCaptcha.csproj index 4b60085..f2cd844 100644 --- a/AntiCaptcha/AntiCaptcha.csproj +++ b/AntiCaptcha/AntiCaptcha.csproj @@ -9,11 +9,11 @@ https://github.com/Zaczero/AntiCaptcha - 1.4 + 1.4.1 anticaptcha, captcha, solver, google, recaptcha, hcaptcha, geetest, text, image, wrapper, api AntiCaptchaAPI false - 1.4.0.0 + 1.4.1.0 1.4.1.0 MIT https://github.com/Zaczero/AntiCaptcha