Skip to content

Commit

Permalink
- Added documentation for the TwoCaptcha class constructor in solver.py
Browse files Browse the repository at this point in the history
- And several minor changes in the documentation for captcha methods

Signed-off-by: Maxim S <[email protected]>
  • Loading branch information
poplers24 committed Sep 17, 2024
1 parent 436731f commit d18fcfb
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions twocaptcha/solver.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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.
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit d18fcfb

Please sign in to comment.