Coder Social home page Coder Social logo

automaedu's Introduction

河海大学教务系统自动登录脚本

因教务系统更换,本项目已过时

关于这个项目

学校教务系统的登录有效期很短,一天之内想多次访问教务必须每次输验证码,很麻烦。

加之线下上课,没课的时候想查询空闲教室需要登录教务查询,比较繁琐。

通过一天半左右的时间慢慢摸索,本人终于能自动登录教务并爬取空闲教室相关信息了。

通过使用 GitHub Actions 自动化配置,每天早晨发一封邮件,简单方便。

关于本项目的详细信息,可阅读下面两篇博客:

URP教务系统自动登录脚本

使用 GitHub Actions 定时发送空闲教室信息邮件

使用

克隆这个项目

git clone https://github.com/wlonestar/HHU_URP_auto_login.git

执行命令

python main.py -u <username> -p <password>

部署

Fork 本项目,启用 GitHub Actions,添加下列仓库密钥:

  • HHU_USERNAME: URP 教务系统用户名

  • HHU_PASSWORD: URP 教务系统密码

  • MAIL_USERNAME: 邮箱服务发件邮箱

  • MAIL_PASSWORD: 邮箱服务发件邮箱授权密码

  • EMAIL: 收件邮箱

将这些内容设为自己的就可以了。

用到的 Python 库

注意事项

  1. 本仓库代码仅供学习参考,严禁对学校教务系统进行网络攻击等行为

  2. 由于不确定学校是否会对教务登录接口进行更改,所以该仓库具有时效性

  3. 爬虫小白作品,欢迎批评指正

automaedu's People

Contributors

wlonestar avatar jscslld avatar

Watchers

 avatar

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.