From d18fcfb8011ddee15be75cf64748d2afd5cb6a76 Mon Sep 17 00:00:00 2001 From: Maxim S Date: Tue, 17 Sep 2024 11:22:36 +0200 Subject: [PATCH] - Added documentation for the TwoCaptcha class constructor in solver.py - And several minor changes in the documentation for captcha methods Signed-off-by: Maxim S --- twocaptcha/solver.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/twocaptcha/solver.py b/twocaptcha/solver.py index 96d8669..072b17f 100755 --- a/twocaptcha/solver.py +++ b/twocaptcha/solver.py @@ -117,7 +117,7 @@ def normal(self, file, **kwargs): lang : str, optional Language code. See the list of supported languages https://2captcha.com/2captcha-api#language. hintText : str, optional - Max 140 characters. Endcoding: UTF-8. Text will be shown to worker to help him to solve the captcha correctly. + Max 140 characters. Encoding: UTF-8. Text will be shown to worker to help him to solve the captcha correctly. For example: type red symbols only. hintImg : img, optional Max 400x150px, 100 kB. Image with instruction for solving reCAPTCHA. Not required if you're sending @@ -174,7 +174,7 @@ def text(self, text, **kwargs): Parameters __________ text : str - Max 140 characters. Endcoding: UTF-8. Text will be shown to worker to help him to solve the captcha correctly. + Max 140 characters. Encoding: UTF-8. Text will be shown to worker to help him to solve the captcha correctly. For example: type red symbols only. lang: str, optional Language code. See the list of supported languages https://2captcha.com/2captcha-api#language. @@ -420,7 +420,7 @@ def grid(self, file, **kwargs): body : str Base64-encoded captcha image. * required if you submit image as Base64-encoded string (method=base64). hintText : str - Max 140 characters. Endcoding: UTF-8. Text with instruction for solving reCAPTCHA. For example: select images + Max 140 characters. Encoding: UTF-8. Text with instruction for solving reCAPTCHA. For example: select images with trees. Not required if you're sending instruction as an image with imginstructions. hintImg : img Max 400x150px, 100 kB. Image with instruction for solving reCAPTCHA. Not required if you're sending @@ -469,7 +469,7 @@ def canvas(self, file, **kwargs): body : str Base64-encoded captcha image. * required if you submit image as Base64-encoded string (method=base64). hintText : str - Max 140 characters. Endcoding: UTF-8. Text with instruction for solving reCAPTCHA. For example: select + Max 140 characters. Encoding: UTF-8. Text with instruction for solving reCAPTCHA. For example: select images with trees. Not required if you're sending instruction as an image with imginstructions. hintImg : img Max 400x150px, 100 kB. Image with instruction for solving reCAPTCHA. Not required if you're sending @@ -516,7 +516,7 @@ def coordinates(self, file, **kwargs): body : str Base64-encoded captcha image. * required if you submit image as Base64-encoded string (method=base64). hintText : str - Max 140 characters. Endcoding: UTF-8. Text with instruction for solving the captcha. For example: click on + Max 140 characters. Encoding: UTF-8. Text with instruction for solving the captcha. For example: click on images with ghosts. Not required if the image already contains the instruction. hintImg : img Max 400x150px, 100 kB. Image with instruction for solving reCAPTCHA. Not required if you're sending