Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion examples/coordinates_options.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,9 @@
result = solver.coordinates('./images/grid_2.jpg',
lang='en',
hintImg='./images/grid_hint.jpg',
hintText='Select all images with an Orange')
hintText='Select all images with an Orange',
min_clicks=2,
max_clicks=3)
except Exception as e:
sys.exit(e)

Expand Down
4 changes: 4 additions & 0 deletions twocaptcha/solver.py
Original file line number Diff line number Diff line change
Expand Up @@ -492,6 +492,10 @@ def coordinates(self, file, **kwargs):
instruction as text with textinstructions.
lang : str, optional
Language code. See the list of supported languages https://2captcha.com/2captcha-api#language.
min_clicks : int, optional
The minimum number of clicks that need to be done.
max_clicks : int, optional
The maximum number of clicks that can be done.
softId : int, optional
ID of software developer. Developers who integrated their software with 2Captcha get reward: 10% of
spendings of their software users.
Expand Down