diff --git a/README.md b/README.md index d07e1f8..09ab67b 100644 --- a/README.md +++ b/README.md @@ -288,12 +288,12 @@ Grid method is originally called Old reCAPTCHA V2 method. The method can be used ```ruby result = client.grid({ image: 'path/to/captcha.jpg', - rows: 3, - cols: 3, + recaptcharows: 3, + recaptchacols: 3, previous_id: 0, lang: 'en', - hint_image: 'path/to/hint.jpg', - hint_text: 'Select all images with an Orange' + imginstructions: 'path/to/hint.jpg', + textinstructions: 'Select all images with an Orange' }) ``` diff --git a/README.ru.md b/README.ru.md index 4041eaf..2f512f2 100644 --- a/README.ru.md +++ b/README.ru.md @@ -270,12 +270,12 @@ result = client.capy({ ```ruby result = client.grid({ image: 'path/to/captcha.jpg', - rows: 3, - cols: 3, + recaptcharows: 3, + recaptchacols: 3, previous_id: 0, lang: 'en', - hint_image: 'path/to/hint.jpg', - hint_text: 'Select all images with an Orange' + imginstructions: 'path/to/hint.jpg', + textinstructions: 'Select all images with an Orange' }) ``` diff --git a/lib/api_2captcha/client.rb b/lib/api_2captcha/client.rb index 42d4825..8228c2e 100644 --- a/lib/api_2captcha/client.rb +++ b/lib/api_2captcha/client.rb @@ -134,7 +134,7 @@ def capy(params) end def grid(params) - params["recaptcha"] = 1 + params[:recaptcha] = 1 solve("post", **params) end