AutoUpdateJdCookie icon indicating copy to clipboard operation
AutoUpdateJdCookie copied to clipboard

没办法登录了,求修复

Open hugohhuang opened this issue 4 weeks ago • 3 comments

hugohhuang avatar Nov 27 '25 12:11 hugohhuang

jd最近的验证码做的真狠,人工看都不好选

daleyjh2 avatar Nov 28 '25 11:11 daleyjh2

刚刚跑了下,一直报识别图形错误

hw8408 avatar Nov 28 '25 14:11 hw8408

Traceback (most recent call last): File "/app/main.py", line 668, in get_jd_pt_key await auto_shape(page, retry_times=30) File "/app/main.py", line 226, in auto_shape backend_bounding_box = await background_locator.bounding_box() File "/usr/local/lib/python3.10/site-packages/playwright/async_api/_generated.py", line 14915, in bounding_box await self._impl_obj.bounding_box(timeout=timeout) File "/usr/local/lib/python3.10/site-packages/playwright/_impl/_locator.py", line 127, in bounding_box return await self._with_element( File "/usr/local/lib/python3.10/site-packages/playwright/_impl/_locator.py", line 108, in _with_element handle = await self.element_handle(timeout=timeout) File "/usr/local/lib/python3.10/site-packages/playwright/_impl/_locator.py", line 311, in element_handle handle = await self._frame.wait_for_selector( File "/usr/local/lib/python3.10/site-packages/playwright/_impl/_frame.py", line 323, in wait_for_selector await self._channel.send("waitForSelector", locals_to_params(locals())) File "/usr/local/lib/python3.10/site-packages/playwright/_impl/_connection.py", line 59, in send return await self._connection.wrap_api_call( File "/usr/local/lib/python3.10/site-packages/playwright/_impl/_connection.py", line 514, in wrap_api_call raise rewrite_error(error, f"{parsed_st['apiName']}: {error}") from None playwright._impl._errors.TimeoutError: Locator.bounding_box: Timeout 30000ms exceeded. Call log: waiting for locator("#cpc_img")

AlonWangg avatar Dec 01 '25 16:12 AlonWangg