Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

登录按钮发生变化了 #94

Open
bluewatercg opened this issue Jan 9, 2025 · 3 comments
Open

登录按钮发生变化了 #94

bluewatercg opened this issue Jan 9, 2025 · 3 comments

Comments

@bluewatercg
Copy link

源代码是:.btn.J_ping.btn-active
跟踪页面现在是:btn J_ping active
image

登 录

@icepage
Copy link
Owner

icepage commented Jan 9, 2025

拉最新代码,已fix了

@hot36952
Copy link

拉最新代码,已fix了

- 未找到小图,退出移动滑块 Traceback (most recent call last): File "C:\Users\Administrator\Desktop\AutoUpdateJdCookie\main.py", line 502, in get_jd_pt_key await auto_shape(page, retry_times=30) File "C:\Users\Administrator\Desktop\AutoUpdateJdCookie\main.py", line 154, in auto_shape my_ocr = get_ocr(det=False, ocr=False, import_onnx_path="myocr_v1.onnx", charsets_path="charsets.json") File "C:\Users\Administrator\Desktop\AutoUpdateJdCookie\utils\tools.py", line 62, in get_ocr return ddddocr.DdddOcr(show_ad=False, **kwargs) File "C:\Users\Administrator\AppData\Local\Programs\Python\Python39\lib\site-packages\ddddocr\__init__.py", line 59, in __init__ with open(charsets_path, 'r', encoding="utf-8") as f: FileNotFoundError: [Errno 2] No such file or directory: 'charsets.json' 2025-01-10 13:37:46.662 | ERROR | __main__:main:619 - 获取pt_key失败

最新代码会点登录了,但是识别图片时报错。

@hot36952
Copy link

拉最新代码,已fix了

- 未找到小图,退出移动滑块 Traceback (most recent call last): File "C:\Users\Administrator\Desktop\AutoUpdateJdCookie\main.py", line 502, in get_jd_pt_key await auto_shape(page, retry_times=30) File "C:\Users\Administrator\Desktop\AutoUpdateJdCookie\main.py", line 154, in auto_shape my_ocr = get_ocr(det=False, ocr=False, import_onnx_path="myocr_v1.onnx", charsets_path="charsets.json") File "C:\Users\Administrator\Desktop\AutoUpdateJdCookie\utils\tools.py", line 62, in get_ocr return ddddocr.DdddOcr(show_ad=False, **kwargs) File "C:\Users\Administrator\AppData\Local\Programs\Python\Python39\lib\site-packages\ddddocr\__init__.py", line 59, in __init__ with open(charsets_path, 'r', encoding="utf-8") as f: FileNotFoundError: [Errno 2] No such file or directory: 'charsets.json' 2025-01-10 13:37:46.662 | ERROR | __main__:main:619 - 获取pt_key失败

最新代码会点登录了,但是识别图片时报错。

重新定位了图片左上角,可以了。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants