diff --git a/CaptchaOnService/Enum/Rucaptcha/METHOD.cs b/CaptchaOnService/Enum/Rucaptcha/METHOD.cs index b3ab1f1..2c7c8ba 100644 --- a/CaptchaOnService/Enum/Rucaptcha/METHOD.cs +++ b/CaptchaOnService/Enum/Rucaptcha/METHOD.cs @@ -19,6 +19,6 @@ public enum Method /// /// Определяет, что вы решаете ReCaptcha V2 с помощью нового метода /// - USERRECAPTCHA, + userrecaptcha, } } diff --git a/CaptchaOnService/Models/Request/Rucaptcha/ReCaptchaV2Models.cs b/CaptchaOnService/Models/Request/Rucaptcha/ReCaptchaV2Models.cs index 9858783..93ae021 100644 --- a/CaptchaOnService/Models/Request/Rucaptcha/ReCaptchaV2Models.cs +++ b/CaptchaOnService/Models/Request/Rucaptcha/ReCaptchaV2Models.cs @@ -24,6 +24,6 @@ public class ReCaptchaV2Models : SettingModels /// /// Метод указан по умолчанию /// - public Method Method { get; set; } = Method.USERRECAPTCHA; + public Method Method { get; set; } = Method.userrecaptcha; } } diff --git a/CaptchaOnService/Models/Request/Rucaptcha/ReCaptchaV3Models.cs b/CaptchaOnService/Models/Request/Rucaptcha/ReCaptchaV3Models.cs index d9ebae5..9d681fd 100644 --- a/CaptchaOnService/Models/Request/Rucaptcha/ReCaptchaV3Models.cs +++ b/CaptchaOnService/Models/Request/Rucaptcha/ReCaptchaV3Models.cs @@ -20,7 +20,7 @@ public class ReCaptchaV3Models : SettingModels /// /// Метод указан по умолчанию /// - public Method Method { get; set; } = Method.USERRECAPTCHA; + public Method Method { get; set; } = Method.userrecaptcha; /// /// v3 — указывает на то, что это ReCaptcha V3. указана по умолчанию /// diff --git a/CaptchaOnService/Rucaptcha/Rucaptcha.cs b/CaptchaOnService/Rucaptcha/Rucaptcha.cs index d4db521..79db38c 100644 --- a/CaptchaOnService/Rucaptcha/Rucaptcha.cs +++ b/CaptchaOnService/Rucaptcha/Rucaptcha.cs @@ -186,7 +186,7 @@ public ResponseModels ReCaptchaV2(ReCaptchaV2Models recaptcha) /// Тип вашего прокси-сервера: HTTP, HTTPS, SOCKS4, SOCKS5. /// Время задержки получения ответа /// - public ResponseModels ReCaptchaV2(string googlekey, string pageurl, Method method = Method.USERRECAPTCHA, int? invisible = null, int? header_acao = null, string pingback = null, + public ResponseModels ReCaptchaV2(string googlekey, string pageurl, Method method = Method.userrecaptcha, int? invisible = null, int? header_acao = null, string pingback = null, string proxy = null, ProxyType? proxy_type = null, int sleep = 2000) { ReCaptchaV2Models recaptcha = new ReCaptchaV2Models() @@ -212,7 +212,7 @@ public ResponseModels ReCaptchaV2(string googlekey, string pageurl, Method metho /// Решить капчу ReCaptcha V3 /// /// - public ResponseModels ReCaptcha_V3(ReCaptchaV3Models recaptcha) + public ResponseModels ReCaptchaV3(ReCaptchaV3Models recaptcha) { return _query.ReCaptchaV3(recaptcha); } @@ -232,7 +232,7 @@ public ResponseModels ReCaptcha_V3(ReCaptchaV3Models recaptcha) /// Тип вашего прокси-сервера: HTTP, HTTPS, SOCKS4, SOCKS5. /// Время задержки получения ответа /// - public ResponseModels ReCaptcha_V3(string googlekey, string pageurl, string version = "v3", Method method = Method.USERRECAPTCHA, string action = null, + public ResponseModels ReCaptchaV3(string googlekey, string pageurl, string version = "v3", Method method = Method.userrecaptcha, string action = null, double? min_score = null, int? header_acao = null, string pingback = null, string proxy = null, ProxyType? proxy_type = null, int sleep = 2000) { ReCaptchaV3Models recaptcha = new ReCaptchaV3Models()