diff --git a/README.md b/README.md index 6dcf3af..8eb1a3f 100644 --- a/README.md +++ b/README.md @@ -413,9 +413,18 @@ result = solver.tencent(app_id="197326679", [API method description.](https://2captcha.com/2captcha-api#datadome) Use this method to solve DataDome captcha. + +> [!IMPORTANT] +> To solve the DataDome captcha, you must use a proxy. It is recommended to use [residential proxies]. + ```python result = solver.datadome(captcha_url="https://geo.captcha-delivery.com/captcha/?initialCid=...", pageurl="https://mysite.com/page/with/datadome", + userAgent="Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36", + proxy={ + 'type': 'HTTP', + 'uri': 'login:password@IP_address:PORT' + }, param1=..., ...) ``` @@ -567,3 +576,4 @@ The graphics and trademarks included in this repository are not covered by the M [Buy residential proxies]: https://2captcha.com/proxy/residential-proxies [Quick start]: https://2captcha.com/proxy?openAddTrafficModal=true [examples]: ./examples +[residential proxies]: https://2captcha.com/proxy/residential-proxies \ No newline at end of file