@@ -51,15 +51,15 @@ pip install capmonstercloudclient
5151``` python
5252import asyncio
5353from capmonstercloudclient import CapMonsterClient, ClientOptions
54- from capmonstercloudclient.requests import RecaptchaV2ProxylessRequest
54+ from capmonstercloudclient.requests import RecaptchaV2Request
5555
5656# Initialize client with your API key from dashboard
5757options = ClientOptions(api_key = " YOUR_CAPMONSTER_API_KEY" )
5858client = CapMonsterClient(options = options)
5959
6060async def main ():
6161 # Build the task payload
62- request = RecaptchaV2ProxylessRequest (
62+ request = RecaptchaV2Request (
6363 websiteUrl = " https://lessons.zennolab.com/captchas/recaptcha/v2_simple.php?level=high" ,
6464 websiteKey = " 6Lcg7CMUAAAAANphynKgn9YAgA4tQ2KI_iqRyTwd"
6565 )
@@ -78,14 +78,14 @@ if __name__ == "__main__":
7878import asyncio
7979from playwright.async_api import async_playwright
8080from capmonstercloudclient import CapMonsterClient, ClientOptions
81- from capmonstercloudclient.requests import TurnstileProxylessRequest
81+ from capmonstercloudclient.requests import TurnstileRequest
8282
8383options = ClientOptions(api_key = " YOUR_CAPMONSTER_API_KEY" )
8484client = CapMonsterClient(options = options)
8585
8686async def run_scraper ():
8787 # Solve Turnstile challenge via CapMonster Cloud
88- turnstile_req = TurnstileProxylessRequest (
88+ turnstile_req = TurnstileRequest (
8989 websiteUrl = " https://target-website.com/login" ,
9090 websiteKey = " 0x4AAAAAAABnPIDnK2k_e-2"
9191 )
@@ -114,8 +114,8 @@ All task types conform to the official [CapMonster Cloud API Documentation](http
114114
115115| Protection Type | Task Request Class | Proxyless Mode |
116116| :--- | :--- | :---: |
117- | ** Cloudflare Turnstile** | ` TurnstileProxylessRequest ` / ` TurnstileRequest ` | ✅ Supported |
118- | ** reCAPTCHA v2** | ` RecaptchaV2ProxylessRequest ` / ` RecaptchaV2Request ` | ✅ Supported |
117+ | ** Cloudflare Turnstile** | ` TurnstileRequest ` | ✅ Supported |
118+ | ** reCAPTCHA v2** | ` RecaptchaV2Request ` | ✅ Supported |
119119| ** reCAPTCHA v3** | ` RecaptchaV3ProxylessRequest ` | ✅ Supported |
120120| ** reCAPTCHA Enterprise** | ` RecaptchaV2EnterpriseProxylessRequest ` / ` RecaptchaV2EnterpriseRequest ` | ✅ Supported |
121121| ** GeeTest (v3, v4)** | ` GeeTestProxylessRequest ` / ` GeeTestRequest ` | ✅ Supported |
0 commit comments