Giter Site home page Giter Site logo

hhu_autohealthreport's Introduction

HHU_AutoHealthReport

基于Python以及requests模块的自动签到(健康打卡)脚本

主要是之前都在用selenium,觉得效率特别低下,想做的更加轻量(因为使用selenium还要额外打开一个浏览器)

如果有大佬看了我的源码,请告诉我那个wid到底是干嘛的,我也没找太多人测试,同学都说是一样的,不知道不同学院是不是一样的。_(:з)∠)_

如何使用

确保已经安装python以及requests模块

pip install requests

请修改源码中的个人信息相关变量

脚本会自动生成cookies文件保存以便短时间内多次登录,请勿传给他人

请保护好自己的隐私

user_id     = ''# 学号
user_psw    = ''# 密码
user_name   = ''# 姓名
user_sfz    = ''# 身份证号码
user_ph     = ''# 手机号码

以下信息请严格按照健康打卡表单中的信息填写

user_col    = ''# 学院 如 计信院
user_year   = ''# 年级 如 2019级
user_spec   = ''# 专业 如 计算机
user_class  = ''# 班级 如 计算机18_1
user_dorm   = ''# 宿舍楼 如 江宁校区教学区1舍
user_dormid = ''# 宿舍号 如 110

在当前目录下在命令行中输入

python auto_report.py

即可

有余力的大佬可以自己编写批处理脚本sh, ps1, bat啥的,然后做个开机启动,一劳永逸:)也欢迎将批处理脚本push进来

注意

如果出现错误,请查看个人信息是否正确填写,尤其是学号以及密码,本人并没有编写对登录是否成功的判断,默认你填写的所有信息都是对的。

如果出现签到失败,请查看将你的情况发到issues中

发送内容:

最后再次提醒大家,注意保护好个人隐私!在使用该脚本签到前请确认个人信息填写无误。

欢迎大家找我研究讨论

hhu_autohealthreport's People

Contributors

keytoon9 avatar

Stargazers

 avatar

Watchers

 avatar

Forkers

god10000

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.