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-5Lines changed: 7 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -44,7 +44,7 @@ Examples of API requests for different captcha types are available on the [Pytho
44
44
-[Datadome](#datadome)
45
45
-[CyberSiARA](#cybersiara)
46
46
-[Other methods](#other-methods)
47
-
-[send / get_result](#send--get_result)
47
+
-[send / get\_result](#send--get_result)
48
48
-[balance](#balance)
49
49
-[report](#report)
50
50
-[Error handling](#error-handling)
@@ -53,10 +53,10 @@ Examples of API requests for different captcha types are available on the [Pytho
53
53
-[Examples](#examples)
54
54
-[Examples using Selenium](#examples-using-selenium)
55
55
-[Useful articles](#useful-articles)
56
-
-[Get in touch](#get-in-touch)
57
-
-[Join the team 👪](#join-the-team-)
58
-
-[License](#license)
59
-
-[Graphics and Trademarks](#graphics-and-trademarks)
56
+
-[Get in touch](#get-in-touch)
57
+
-[Join the team 👪](#join-the-team-)
58
+
-[License](#license)
59
+
-[Graphics and Trademarks](#graphics-and-trademarks)
60
60
61
61
## Installation
62
62
@@ -101,6 +101,8 @@ solver = TwoCaptcha(**config)
101
101
| 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 |
102
102
| recaptchaTimeout | 600 | Polling timeout for reCAPTCHA in seconds. Defines how long the module tries to get the answer from the `res.php` API endpoint |
103
103
| pollingInterval | 10 | Interval in seconds between requests to the `res.php` API endpoint. Setting values less than 5 seconds is not recommended |
104
+
| 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)|
105
+
104
106
105
107
> [!IMPORTANT]
106
108
> 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