Skip to content

Commit 9dc0da4

Browse files
author
2captcha
committed
Update README.md
1 parent 259f2c1 commit 9dc0da4

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

README.md

+7-5
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ Examples of API requests for different captcha types are available on the [Pytho
4242
- [Cutcaptcha](#cutcaptcha)
4343
- [Tencent](#tencent)
4444
- [Other methods](#other-methods)
45-
- [send / get_result](#send--get_result)
45+
- [send / get\_result](#send--get_result)
4646
- [balance](#balance)
4747
- [report](#report)
4848
- [Error handling](#error-handling)
@@ -51,10 +51,10 @@ Examples of API requests for different captcha types are available on the [Pytho
5151
- [Examples](#examples)
5252
- [Examples using Selenium](#examples-using-selenium)
5353
- [Useful articles](#useful-articles)
54-
- [Get in touch](#get-in-touch)
55-
- [Join the team 👪](#join-the-team-)
56-
- [License](#license)
57-
- [Graphics and Trademarks](#graphics-and-trademarks)
54+
- [Get in touch](#get-in-touch)
55+
- [Join the team 👪](#join-the-team-)
56+
- [License](#license)
57+
- [Graphics and Trademarks](#graphics-and-trademarks)
5858

5959
## Installation
6060

@@ -99,6 +99,8 @@ solver = TwoCaptcha(**config)
9999
| defaultTimeout | 120 | Polling timeout in seconds for all captcha types except reCAPTCHA. Defines how long the module tries to get the answer from the `res.php` API endpoint |
100100
| recaptchaTimeout | 600 | Polling timeout for reCAPTCHA in seconds. Defines how long the module tries to get the answer from the `res.php` API endpoint |
101101
| pollingInterval | 10 | Interval in seconds between requests to the `res.php` API endpoint. Setting values less than 5 seconds is not recommended |
102+
| extendedResponse | None | Set to `True` to get the response with additional fields or in more practical format (enables `JSON` response from `res.php` API endpoint). Suitable for [hCaptcha](#hcaptcha), [ClickCaptcha](#clickcaptcha), [Canvas](#canvas) |
103+
102104

103105
> [!IMPORTANT]
104106
> Once `callback` is defined for the `TwoCaptcha` instance, all methods return only the captcha ID and DO NOT poll the API to get the result. The result will be sent to the callback URL.

0 commit comments

Comments
 (0)