-
Notifications
You must be signed in to change notification settings - Fork 634
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
挂号失败,post 的 response 是一个 html #27
Labels
Comments
Chrome 中发送 POST 请求时的 Headers:
脚本 POST 时的 Headers:
我修改了一下,这个Headers也不好用(
|
问题解决 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
遇到一个BUG,挂号时的 response 不是 json 而是一个 html
bjguahao.py > get_it() > response = self.browser.post(self.confirm_url , data=preload)
尝试测试了一下,结果弄得我自己一头雾水。
在 Chrome 上手动挂号,挂号时同样是
用脚本挂同一个号,post 的数据基本一致,除了SMS码和reimbursementType,但返回值的
response.text
却是个HTML,且挂号不成功。将
response.text
写入文件后发现是选择时间的那个挂号页。The text was updated successfully, but these errors were encountered: