Skip to content

Commit

Permalink
- Added description of img_type parameter for grid method in solver.py
Browse files Browse the repository at this point in the history
Signed-off-by: Maxim S <[email protected]>
  • Loading branch information
poplers24 committed Sep 17, 2024
1 parent 9e9cac6 commit a99b955
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion twocaptcha/solver.py
Original file line number Diff line number Diff line change
Expand Up @@ -381,7 +381,8 @@ def capy(self, sitekey, url, **kwargs):
def grid(self, file, **kwargs):
'''Wrapper for solving grid captcha (image).
Required:
Parameters
__________
file : file
Captcha image file. * required if you submit image as a file (method=post).
body : str
Expand All @@ -396,6 +397,14 @@ def grid(self, file, **kwargs):
Number of rows in reCAPTCHA grid.
cols : itn, optional
Number of columns in reCAPTCHA grid.
img_type : str, optional
The type of captcha to solve. Supported values:
- funcaptcha: FunCaptcha where you need to click the correct square.
- funcaptcha_compare: FunCaptcha where you select the square using arrows.
- recaptcha: reCAPTCHA.
- hcaptcha: hCaptcha.
Important: You must also provide the textinstructions parameter with the original instructions in English,
and send the original image files, not screenshots.
previousId : str, optional
Id of your previous request with the same captcha challenge.
canSkip : int, optional
Expand Down

0 comments on commit a99b955

Please sign in to comment.