fix: 修复搜索URL编码以确保正确处理关键词
This commit is contained in:
parent
7bfd9d8181
commit
1936eaea42
3
onoe.py
3
onoe.py
@ -263,11 +263,12 @@ def solve_recaptcha_v3_with_proxy(
|
||||
last_error = None
|
||||
for attempt in range(1, max_task_retries + 1):
|
||||
try:
|
||||
encoded_query = quote(keyword, safe="")
|
||||
payload = {
|
||||
"clientKey": "CAP-A76C932D4C6CCB3CA748F77FDC07D996",
|
||||
"task": {
|
||||
"type": "ReCaptchaV3Task",
|
||||
"websiteURL": f"https://www.dailymotion.com/search/{keyword}/top-results",
|
||||
"websiteURL": f"https://www.dailymotion.com/search/{encoded_query}/top-results",
|
||||
"websiteKey": "6LeOJBIrAAAAAPMIjyYvo-eN_9W1HDOkrEqHR8tM",
|
||||
"pageAction": "___grecaptcha_cfg.clients['100000']['L']['L']['promise-callback'](gRecaptchaResponse)",
|
||||
"minScore": 0.3
|
||||
|
Loading…
x
Reference in New Issue
Block a user