Update README.md
This commit is contained in:
1 parent
79be5b905e
commit
e1f8fdd4a7
1 file changed
+33
-2
@@ -1,2 +1,33 @@
|
||||
# Automation-of-Venue-Reservation
|
||||
Automation of venue reservation for WTU Sunshine Campus Badminton Hall.
|
||||
# 场地预订自动化
|
||||
|
||||
本存储库提供了自创的[“纺大阳光校区羽毛球馆场地预订”表单](https://www.chaojibiaodan.com/form/1d1u2Nk8)填写的自动化脚本。
|
||||
|
||||
## 运行环境
|
||||
|
||||
- Windows 操作系统
|
||||
- Microsoft Edge 浏览器
|
||||
- Python 3.6 或更高版本
|
||||
- pyautogui 库
|
||||
- pyperclip 库
|
||||
- time 库(Python 内置,无需额外安装)
|
||||
|
||||
你可以使用以下命令来安装所需的库:
|
||||
|
||||
```bash
|
||||
pip install pyautogui
|
||||
pip install pyperclip
|
||||
```
|
||||
|
||||
请注意,该表单存在两种布局,需根据布局选择脚本[“a.py”](https://github.com/xixu-zg/Automation-of-Venue-Reservation/blob/main/script/a.py)或脚本[“b.py”](https://github.com/xixu-zg/Automation-of-Venue-Reservation/blob/main/script/b.py);脚本中的坐标可能需要根据你的屏幕分辨率进行调整。
|
||||
|
||||
## 使用方法
|
||||
|
||||
下载脚本,将 Microsoft Edge 浏览器拖拽至屏幕右边缘,使其占据屏幕右半部分,然后运行脚本即可,脚本会自动填写表单并提交,如视频所示。
|
||||
|
||||
<video controls src="https://github.com/xixu-zg/Automation-of-Venue-Reservation/raw/main/Instructions.mp4" title="[](https://github.com/xixu-zg/Automation-of-Venue-Reservation/raw/main/Instructions.mp4)"></video>
|
||||
|
||||
## 注意事项
|
||||
|
||||
- 本存储库仅供学习交流使用,不得用于任何商业用途。
|
||||
- 请勿滥用脚本,以免对他人造成困扰。
|
||||
- 请勿将脚本用于非法用途,否则后果自负。
|
||||
Reference in new issue
Block a user