Skip to content

Commit

Permalink
Update important blocks
Browse files Browse the repository at this point in the history
  • Loading branch information
dzmitry-duboyski committed Jun 26, 2024
1 parent 65adf1e commit f8f91ec
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,9 @@ solver = TwoCaptcha(**config)
| recaptchaTimeout | 600 | Polling timeout for reCAPTCHA in seconds. Defines how long the module tries to get the answer from the `res.php` API endpoint |
| pollingInterval | 10 | Interval in seconds between requests to the `res.php` API endpoint. Setting values less than 5 seconds is not recommended |

> **IMPORTANT:** 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.
> [!IMPORTANT]
> 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.
To get the answer manually use [get_result method](#send--get_result)

## Solve captcha
Expand Down Expand Up @@ -356,9 +358,8 @@ result = solver.mtcaptcha(sitekey='MTPublic-KzqLY1cKH',

Friendly Captcha solving method. Returns a token.



> **Important:** To successfully use the received token, the captcha widget must not be loaded on the page. To do this, you need to abort request to `/friendlycaptcha/...module.min.js` on the page. When the captcha widget is already loaded on the page, there is a high probability that the received token will not work.
> [!IMPORTANT]
> To successfully use the received token, the captcha widget must not be loaded on the page. To do this, you need to abort request to `/friendlycaptcha/...module.min.js` on the page. When the captcha widget is already loaded on the page, there is a high probability that the received token will not work.
```python
result = solver.friendly_captcha(sitekey='FCMGEMUD2KTDSQ5H',
Expand Down

0 comments on commit f8f91ec

Please sign in to comment.