Skip to content

Commit a5604e6

Browse files
Update README.md
1 parent 8d8665a commit a5604e6

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

README.md

+10
Original file line numberDiff line numberDiff line change
@@ -413,9 +413,18 @@ result = solver.tencent(app_id="197326679",
413413
<sup>[API method description.](https://2captcha.com/2captcha-api#datadome)</sup>
414414

415415
Use this method to solve DataDome captcha.
416+
417+
> [!IMPORTANT]
418+
> To solve the DataDome captcha, you must use a proxy. It is recommended to use [residential proxies].
419+
416420
```python
417421
result = solver.datadome(captcha_url="https://geo.captcha-delivery.com/captcha/?initialCid=...",
418422
pageurl="https://mysite.com/page/with/datadome",
423+
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",
424+
proxy={
425+
'type': 'HTTP',
426+
'uri': 'login:password@IP_address:PORT'
427+
},
419428
param1=..., ...)
420429
```
421430

@@ -567,3 +576,4 @@ The graphics and trademarks included in this repository are not covered by the M
567576
[Buy residential proxies]: https://2captcha.com/proxy/residential-proxies
568577
[Quick start]: https://2captcha.com/proxy?openAddTrafficModal=true
569578
[examples]: ./examples
579+
[residential proxies]: https://2captcha.com/proxy/residential-proxies

0 commit comments

Comments
 (0)