File tree 1 file changed +10
-0
lines changed
1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -413,9 +413,18 @@ result = solver.tencent(app_id="197326679",
413
413
<sup >[ API method description.] ( https://2captcha.com/2captcha-api#datadome ) </sup >
414
414
415
415
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
+
416
420
``` python
417
421
result = solver.datadome(captcha_url = " https://geo.captcha-delivery.com/captcha/?initialCid=..." ,
418
422
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
+ },
419
428
param1 = ... , ... )
420
429
```
421
430
@@ -567,3 +576,4 @@ The graphics and trademarks included in this repository are not covered by the M
567
576
[ Buy residential proxies ] : https://2captcha.com/proxy/residential-proxies
568
577
[ Quick start ] : https://2captcha.com/proxy?openAddTrafficModal=true
569
578
[ examples ] : ./examples
579
+ [ residential proxies ] : https://2captcha.com/proxy/residential-proxies
You can’t perform that action at this time.
0 commit comments