Giter Site home page Giter Site logo

Comments (6)

DDLLFEV avatar DDLLFEV commented on August 11, 2024

你好,我抓取的cookie中只有一个asessionid,和要求的格式不对,请问是如何抓取正确的sessionid?

from uestc-temperature.

mrcaidev avatar mrcaidev commented on August 11, 2024

你好,我抓取的cookie中只有一个asessionid,和要求的格式不对,请问是如何抓取正确的sessionid?

68747470733a2f2f73322e6c6f6c692e6e65742f323032322f30312f32332f326641517a4f52636543756b46536e2e706e67

这张图应该写的挺清晰的了;要注意是从公众号里进入,而不是小程序。

from uestc-temperature.

cf-pages avatar cf-pages commented on August 11, 2024

https://idas.uestc.edu.cn/authserver/login?service=https%3A%2F%2Fjzsz.uestc.edu.cn%2Fepidemic

通过这个链接或许可以实现用账号密码登录打卡,但是学校的统一身份验证页面,所以有滑动验证码,比较麻烦,估计需要用selenium等方式才行,登录成功后会跳转,跳转的页面的cookie中可以获得sessionid

from uestc-temperature.

mrcaidev avatar mrcaidev commented on August 11, 2024

https://idas.uestc.edu.cn/authserver/login?service=https%3A%2F%2Fjzsz.uestc.edu.cn%2Fepidemic

通过这个链接或许可以实现用账号密码登录打卡,但是学校的统一身份验证页面,所以有滑动验证码,比较麻烦,估计需要用selenium等方式才行,登录成功后会跳转,跳转的页面的cookie中可以获得sessionid

确实,selenium 的方法我之前考虑过,但是滑动验证码我暂时解决不了;
感觉要上 CV 太麻烦了,或者就是要依赖超级鹰这样的第三方验证码破解平台(不过要花钱)

from uestc-temperature.

cf-pages avatar cf-pages commented on August 11, 2024

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.

mrcaidev avatar mrcaidev commented on August 11, 2024

这里找到了一些校友写的过统一登录滑动验证码的代码,或许可以参考一下? 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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.