|
发表于 2025-1-21 09:31:03
|
显示全部楼层
国网网站页面又升级了吗?刚稳定运行没几天,就抓不到数据了。
2025-01-20 20:00:23 [INFO ] ---- Webdriver initialized.
2025-01-20 20:00:29 [INFO ] ---- Open LOGIN_URL:https://www.95598.cn/osgweb/login.
2025-01-20 20:01:27 [INFO ] ---- find_element 'user'.
2025-01-20 20:01:50 [INFO ] ---- Click the Agree option.
2025-01-20 20:02:11 [INFO ] ---- input_elements username : 139XXXXXXXX
2025-01-20 20:02:13 [INFO ] ---- input_elements password : XXXXXXXX
2025-01-20 20:02:54 [INFO ] ---- Click login button.
2025-01-20 20:02:55 [INFO ] ---- Get electricity canvas image successfully.
2025-01-20 20:02:55 [INFO ] ---- Image CaptCHA distance is 78.
2025-01-20 20:03:29 [INFO ] ---- login successed !
2025-01-20 20:03:29 [INFO ] ---- Login successfully on https://www.95598.cn/osgweb/login
2025-01-20 20:03:49 [INFO ] ---- Try to get the userid list
2025-01-20 20:06:00 [INFO ] ---- Here are a total of 1 userids, which are ['XXXXXXXXXXXX'] among which ['xxxxx', 'xxxxx'] will be ignored.
2025-01-20 20:07:43 [INFO ] ---- The current user XXXXXXXXXXXX data fetching failed Message: no such element: Unable to locate element: {"method":"css selector","selector":".el-input__suffix"}
(Session info: chrome=131.0.6778.204); For documentation on this error, please visit: https://www.selenium.dev/documen ... h-element-exception
Stacktrace:
#0 0x7fd084e9bdbe <unknown>
#1 0x7fd0849bf06b <unknown>
#2 0x7fd084a06160 <unknown>
#3 0x7fd084a06241 <unknown>
#4 0x7fd084a4c634 <unknown>
#5 0x7fd084a2db0d <unknown>
|
|