Q: 为何不直接请求后端? #13
ceilf6
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
因为每个学校的后端接口不一致、参数不一致
本脚本的初衷是为了适配多学校、更方便的选课
故而从前端出发
更适配的方案是直接用 Agent 进行图形界面识别,这样即使选课系统的 web 结构不一致也能很好的兼容
但是用 Agent 的速度会下降很多,至少目前是这样(未来应该就不是了
所以目前的脚本策略是直接进行页面元素操作
Beta Was this translation helpful? Give feedback.
All reactions