diff --git a/RuriLib/CaptchaServices/AZCaptcha.cs b/RuriLib/CaptchaServices/AZCaptcha.cs index fadc8be..47f9f10 100644 --- a/RuriLib/CaptchaServices/AZCaptcha.cs +++ b/RuriLib/CaptchaServices/AZCaptcha.cs @@ -53,7 +53,7 @@ namespace RuriLib.CaptchaServices Thread.Sleep(5000); response = client.DownloadString($"http://azcaptcha.com/res.php?key={ApiKey}&action=get&id={TaskId}&json=1"); GenericResponse gtrr = JsonConvert.DeserializeObject(response); - if (gtrr.request.Contains("NOTREADY")) continue; + if (gtrr.request.Contains("NOT_READY")) continue; if (gtrr.status == 0) throw new Exception(gtrr.request); Status = CaptchaStatus.Completed; return gtrr.request; @@ -84,7 +84,7 @@ namespace RuriLib.CaptchaServices Thread.Sleep(5000); response = client.DownloadString($"http://azcaptcha.com/res.php?key={ApiKey}&action=get&id={TaskId}&json=1"); GenericResponse gtrr = JsonConvert.DeserializeObject(response); - if (gtrr.request.Contains("NOTREADY")) continue; + if (gtrr.request.Contains("NOT_READY")) continue; if (gtrr.status == 0) throw new Exception(gtrr.request); Status = CaptchaStatus.Completed; return gtrr.request; diff --git a/RuriLib/CaptchaServices/TwoCaptcha.cs b/RuriLib/CaptchaServices/TwoCaptcha.cs index 79375a4..10c10ba 100644 --- a/RuriLib/CaptchaServices/TwoCaptcha.cs +++ b/RuriLib/CaptchaServices/TwoCaptcha.cs @@ -53,7 +53,7 @@ namespace RuriLib.CaptchaServices Thread.Sleep(5000); response = client.DownloadString($"http://2captcha.com/res.php?key={ApiKey}&action=get&id={TaskId}&json=1"); GenericResponse gtrr = JsonConvert.DeserializeObject(response); - if (gtrr.request.Contains("NOTREADY")) continue; + if (gtrr.request.Contains("NOT_READY")) continue; if (gtrr.status == 0) throw new Exception(gtrr.request); Status = CaptchaStatus.Completed; return gtrr.request; @@ -84,7 +84,7 @@ namespace RuriLib.CaptchaServices Thread.Sleep(5000); response = client.DownloadString($"http://2captcha.com/res.php?key={ApiKey}&action=get&id={TaskId}&json=1"); GenericResponse gtrr = JsonConvert.DeserializeObject(response); - if (gtrr.request.Contains("NOTREADY")) continue; + if (gtrr.request.Contains("NOT_READY")) continue; if (gtrr.status == 0) throw new Exception(gtrr.request); Status = CaptchaStatus.Completed; return gtrr.request;