refactor: 注释掉reCAPTCHA相关的pageAction和minScore以简化代码

This commit is contained in:
晓丰 2025-05-31 05:05:30 +08:00
parent 1936eaea42
commit 50df0c698c

View File

@ -270,8 +270,8 @@ def solve_recaptcha_v3_with_proxy(
"type": "ReCaptchaV3Task", "type": "ReCaptchaV3Task",
"websiteURL": f"https://www.dailymotion.com/search/{encoded_query}/top-results", "websiteURL": f"https://www.dailymotion.com/search/{encoded_query}/top-results",
"websiteKey": "6LeOJBIrAAAAAPMIjyYvo-eN_9W1HDOkrEqHR8tM", "websiteKey": "6LeOJBIrAAAAAPMIjyYvo-eN_9W1HDOkrEqHR8tM",
"pageAction": "___grecaptcha_cfg.clients['100000']['L']['L']['promise-callback'](gRecaptchaResponse)", # "pageAction": "___grecaptcha_cfg.clients['100000']['L']['L']['promise-callback'](gRecaptchaResponse)",
"minScore": 0.3 # "minScore": 0.3
} }
} }
resp = requests.post(create_url, json=payload, headers=headers, timeout=30) resp = requests.post(create_url, json=payload, headers=headers, timeout=30)