Skip to content

Commit d18fcfb

Browse files
committed
- 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 <[email protected]>
1 parent 436731f commit d18fcfb

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

twocaptcha/solver.py

+5-5
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ def normal(self, file, **kwargs):
117117
lang : str, optional
118118
Language code. See the list of supported languages https://2captcha.com/2captcha-api#language.
119119
hintText : str, optional
120-
Max 140 characters. Endcoding: UTF-8. Text will be shown to worker to help him to solve the captcha correctly.
120+
Max 140 characters. Encoding: UTF-8. Text will be shown to worker to help him to solve the captcha correctly.
121121
For example: type red symbols only.
122122
hintImg : img, optional
123123
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):
174174
Parameters
175175
__________
176176
text : str
177-
Max 140 characters. Endcoding: UTF-8. Text will be shown to worker to help him to solve the captcha correctly.
177+
Max 140 characters. Encoding: UTF-8. Text will be shown to worker to help him to solve the captcha correctly.
178178
For example: type red symbols only.
179179
lang: str, optional
180180
Language code. See the list of supported languages https://2captcha.com/2captcha-api#language.
@@ -420,7 +420,7 @@ def grid(self, file, **kwargs):
420420
body : str
421421
Base64-encoded captcha image. * required if you submit image as Base64-encoded string (method=base64).
422422
hintText : str
423-
Max 140 characters. Endcoding: UTF-8. Text with instruction for solving reCAPTCHA. For example: select images
423+
Max 140 characters. Encoding: UTF-8. Text with instruction for solving reCAPTCHA. For example: select images
424424
with trees. Not required if you're sending instruction as an image with imginstructions.
425425
hintImg : img
426426
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):
469469
body : str
470470
Base64-encoded captcha image. * required if you submit image as Base64-encoded string (method=base64).
471471
hintText : str
472-
Max 140 characters. Endcoding: UTF-8. Text with instruction for solving reCAPTCHA. For example: select
472+
Max 140 characters. Encoding: UTF-8. Text with instruction for solving reCAPTCHA. For example: select
473473
images with trees. Not required if you're sending instruction as an image with imginstructions.
474474
hintImg : img
475475
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):
516516
body : str
517517
Base64-encoded captcha image. * required if you submit image as Base64-encoded string (method=base64).
518518
hintText : str
519-
Max 140 characters. Endcoding: UTF-8. Text with instruction for solving the captcha. For example: click on
519+
Max 140 characters. Encoding: UTF-8. Text with instruction for solving the captcha. For example: click on
520520
images with ghosts. Not required if the image already contains the instruction.
521521
hintImg : img
522522
Max 400x150px, 100 kB. Image with instruction for solving reCAPTCHA. Not required if you're sending

0 commit comments

Comments
 (0)