You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: README.md
+7-5
Original file line number
Diff line number
Diff line change
@@ -42,7 +42,7 @@ Examples of API requests for different captcha types are available on the [Pytho
42
42
-[Cutcaptcha](#cutcaptcha)
43
43
-[Tencent](#tencent)
44
44
-[Other methods](#other-methods)
45
-
-[send / get_result](#send--get_result)
45
+
-[send / get\_result](#send--get_result)
46
46
-[balance](#balance)
47
47
-[report](#report)
48
48
-[Error handling](#error-handling)
@@ -51,10 +51,10 @@ Examples of API requests for different captcha types are available on the [Pytho
51
51
-[Examples](#examples)
52
52
-[Examples using Selenium](#examples-using-selenium)
53
53
-[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)
58
58
59
59
## Installation
60
60
@@ -99,6 +99,8 @@ solver = TwoCaptcha(**config)
99
99
| 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 |
100
100
| recaptchaTimeout | 600 | Polling timeout for reCAPTCHA in seconds. Defines how long the module tries to get the answer from the `res.php` API endpoint |
101
101
| 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
+
102
104
103
105
> [!IMPORTANT]
104
106
> 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