Giter VIP home page Giter VIP logo

gzhu_library_automation's Introduction

GZHU_Library_Automation

GZHU图书馆自动化脚本

功能

  • 座位(自动预约,自动签到)
  • 研讨室(自动预约)
  • 更多(在Shell.py会呈现)

结构

├── user            
│   ├── shell.py      	#开启控制台
│   ├── reserve.py		#定时预约脚本
│   ├── clock.py		#定时签到脚本
│   ├── userInfo.json 	#用户的账户信息
│   ├── schedule.py		#用户的预约信息
│   ├── cookie.txt		#用户的cookie
├── src
│   ├── __init__.py
│   ├── Login.py      	# 登陆类
│   ├── Public.py     	# 公共函数库
│   ├── Shell.py    	# 控制台类
│   ├── User.py    		# 用户操作类
│   └── rsa.py    	 	# RSA 加密算法的实现
├── README.md
└── requirements.txt # 依赖项

运行

配置

  1. 获取代码

  2. 安装依赖

    pip install -r requirements.txt
  3. 配置个人信息,修改user/userInfo.json (按里面的提示修改)

  4. 配置预约信息,修改user/schedule.py (按里面的提示修改)

  5. 每个user文件夹代表一名用户,可以多个用户,user文件夹名可以随便改(比如你的名字),其他文件名不能改哦,

  6. 配置好后,执行user/shell.py

    1. 选择更新身份(第一次配置用户需要点)

      image-20231120004725880

    2. 然后选择退出

    3. 打开user/userInfo.json中的selfAccid字段更新了,说明脚本配置成功了

    4. 脚本怎么用看个人发挥了

待实现

  • 研讨室的签到

gzhu_library_automation's People

Contributors

cliqin avatar

Watchers

 avatar

Forkers

brokenstring

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.