Comments (6)
你好,我抓取的cookie中只有一个asessionid,和要求的格式不对,请问是如何抓取正确的sessionid?
from uestc-temperature.
你好,我抓取的cookie中只有一个asessionid,和要求的格式不对,请问是如何抓取正确的sessionid?
这张图应该写的挺清晰的了;要注意是从公众号里进入,而不是小程序。
from uestc-temperature.
https://idas.uestc.edu.cn/authserver/login?service=https%3A%2F%2Fjzsz.uestc.edu.cn%2Fepidemic
通过这个链接或许可以实现用账号密码登录打卡,但是学校的统一身份验证页面,所以有滑动验证码,比较麻烦,估计需要用selenium等方式才行,登录成功后会跳转,跳转的页面的cookie中可以获得sessionid
from uestc-temperature.
https://idas.uestc.edu.cn/authserver/login?service=https%3A%2F%2Fjzsz.uestc.edu.cn%2Fepidemic
通过这个链接或许可以实现用账号密码登录打卡,但是学校的统一身份验证页面,所以有滑动验证码,比较麻烦,估计需要用selenium等方式才行,登录成功后会跳转,跳转的页面的cookie中可以获得sessionid
确实,selenium 的方法我之前考虑过,但是滑动验证码我暂时解决不了;
感觉要上 CV 太麻烦了,或者就是要依赖超级鹰这样的第三方验证码破解平台(不过要花钱)
from uestc-temperature.
https://idas.uestc.edu.cn/authserver/login?service=https%3A%2F%2Fjzsz.uestc.edu.cn%2Fepidemic
通过这个链接或许可以实现用账号密码登录打卡,但是学校的统一身份验证页面,所以有滑动验证码,比较麻烦,估计需要用selenium等方式才行,登录成功后会跳转,跳转的页面的cookie中可以获得sessionid确实,selenium 的方法我之前考虑过,但是滑动验证码我暂时解决不了; 感觉要上 CV 太麻烦了,或者就是要依赖超级鹰这样的第三方验证码破解平台(不过要花钱)
这里找到了一些校友写的过统一登录滑动验证码的代码,或许可以参考一下?
https://github.com/b71db892/AutoCheckInUESTC/blob/main/driver.py
https://github.com/onion-rain/uestc_health_report/blob/main/slide.py
https://github.com/YannLeo/UESTC_student_health_report/blob/main/morning.py
https://github.com/JhonarraonCSDN/Health_ClockIn_UESTC/blob/main/Health_ClockIn.py
from uestc-temperature.
这里找到了一些校友写的过统一登录滑动验证码的代码,或许可以参考一下? https://github.com/b71db892/AutoCheckInUESTC/blob/main/driver.py https://github.com/onion-rain/uestc_health_report/blob/main/slide.py https://github.com/YannLeo/UESTC_student_health_report/blob/main/morning.py https://github.com/JhonarraonCSDN/Health_ClockIn_UESTC/blob/main/Health_ClockIn.py
感谢,第二个很有用!但近几个月事情比较多,没有办法维护这个项目,等事情少了会尽快更新的!
from uestc-temperature.
Related Issues (11)
- 支持离校打卡 HOT 1
- 细化文档说明 HOT 3
- 加入超时最大重试功能 HOT 3
- 每日填报系统更新,原有api失效 HOT 1
- 获取sessionId问题 HOT 2
- 为什么感觉main.yml里的配置不太对啊 HOT 1
- 用户不存在 HOT 2
- 或许可以更新一下教程 HOT 1
- [Bug]TCP连接不能正确返回连接池 HOT 4
- 一种方便的获取 sessionId 的方法 HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from uestc-temperature.