加高移动滑块次数,增加滑块通过率

This commit is contained in:
icepage 2025-04-11 11:06:14 +08:00
parent 691bb6118c
commit 8923411b1a

View File

@ -624,7 +624,7 @@ async def get_jd_pt_key(playwright: Playwright, user, mode) -> Union[str, None]:
if user_datas[user].get("auto_switch", True):
# 自动识别移动滑块验证码
await asyncio.sleep(1)
await auto_move_slide(page, retry_times=5)
await auto_move_slide(page, retry_times=30)
# 自动验证形状验证码
await asyncio.sleep(1)