@@ -41,6 +41,7 @@ Examples of API requests for different captcha types are available on the [Pytho
4141 - [ Friendly Captcha] ( #friendly-captcha )
4242 - [ Cutcaptcha] ( #cutcaptcha )
4343 - [ Tencent] ( #tencent )
44+ - [ Datadome] ( #datadome )
4445 - [ Other methods] ( #other-methods )
4546 - [ send / get_result] ( #send--get_result )
4647 - [ balance] ( #balance )
@@ -407,6 +408,26 @@ result = solver.tencent(app_id="197326679",
407408 param1 = ... , ... )
408409```
409410
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+
410431## Other methods
411432
412433### send / get_result
@@ -480,7 +501,7 @@ except TimeoutException as e:
480501## Proxies
481502
482503You 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 .
484505
485506The proxy will be forwarded to the API to solve the captcha.
486507
@@ -555,3 +576,4 @@ The graphics and trademarks included in this repository are not covered by the M
555576[ Buy residential proxies ] : https://2captcha.com/proxy/residential-proxies
556577[ Quick start ] : https://2captcha.com/proxy?openAddTrafficModal=true
557578[ examples ] : ./examples
579+ [ residential proxies ] : https://2captcha.com/proxy/residential-proxies
0 commit comments