diff --git a/onoe.py b/onoe.py index d10258d..d1cd3e2 100644 --- a/onoe.py +++ b/onoe.py @@ -267,14 +267,14 @@ def solve_recaptcha_v3_with_proxy( payload = { "clientKey": "CAP-A76C932D4C6CCB3CA748F77FDC07D996", "task": { - "type": "ReCaptchaV3Task", + "type": "ReCaptchaV3TaskProxyLess", "websiteURL": f"https://www.dailymotion.com/search/{encoded_query}/top-results", "websiteKey": "6LeOJBIrAAAAAPMIjyYvo-eN_9W1HDOkrEqHR8tM", "pageAction": "search", "minScore": 0.5 } } - resp = requests.post(create_url, json=payload, headers=headers, timeout=30) + resp = requests.post(create_url, data=json.dumps(payload), headers=headers, timeout=30) logger.info(f"[token] 发送 payload:{payload}") resp.raise_for_status() task_id = resp.json()["taskId"]