@@ -41,6 +41,7 @@ Examples of API requests for different captcha types are available on the [Pytho
41
41
- [ Friendly Captcha] ( #friendly-captcha )
42
42
- [ Cutcaptcha] ( #cutcaptcha )
43
43
- [ Tencent] ( #tencent )
44
+ - [ Datadome] ( #datadome )
44
45
- [ Other methods] ( #other-methods )
45
46
- [ send / get_result] ( #send--get_result )
46
47
- [ balance] ( #balance )
@@ -407,6 +408,26 @@ result = solver.tencent(app_id="197326679",
407
408
param1 = ... , ... )
408
409
```
409
410
411
+ ### DataDome
412
+
413
+ <sup >[ API method description.] ( https://2captcha.com/2captcha-api#datadome ) </sup >
414
+
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
+
420
+ ``` python
421
+ result = solver.datadome(captcha_url = " https://geo.captcha-delivery.com/captcha/?initialCid=..." ,
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
+ },
428
+ param1 = ... , ... )
429
+ ```
430
+
410
431
## Other methods
411
432
412
433
### send / get_result
@@ -480,7 +501,7 @@ except TimeoutException as e:
480
501
## Proxies
481
502
482
503
You can pass your proxy as an additional argument for the following methods: recaptcha, funcaptcha, geetest, geetest v4, hcaptcha,
483
- keycaptcha, capy puzzle, lemin, atbcaptcha, turnstile, amazon waf, mtcaptcha, friendly captcha, cutcaptcha.
504
+ keycaptcha, capy puzzle, lemin, atbcaptcha, turnstile, amazon waf, mtcaptcha, friendly captcha, cutcaptcha, Tencent, DataDome .
484
505
485
506
The proxy will be forwarded to the API to solve the captcha.
486
507
@@ -555,3 +576,4 @@ The graphics and trademarks included in this repository are not covered by the M
555
576
[ Buy residential proxies ] : https://2captcha.com/proxy/residential-proxies
556
577
[ Quick start ] : https://2captcha.com/proxy?openAddTrafficModal=true
557
578
[ examples ] : ./examples
579
+ [ residential proxies ] : https://2captcha.com/proxy/residential-proxies
0 commit comments