From e89557a28934f21756f7c7dad22391b8e6b5933c Mon Sep 17 00:00:00 2001 From: Franklin-F Date: Sat, 31 May 2025 05:38:04 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E6=9B=B4=E6=96=B0reCAPTCHA=E4=BB=BB?= =?UTF-8?q?=E5=8A=A1=E7=B1=BB=E5=9E=8B=E4=B8=BAReCaptchaV3TaskProxyLess?= =?UTF-8?q?=E5=B9=B6=E8=B0=83=E6=95=B4payload=E6=A0=BC=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- onoe.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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"]