https://github.com/xixu-me/automation-of-venue-reservation
Automation of venue reservation for WTU Sunshine Campus Badminton Hall
https://github.com/xixu-me/automation-of-venue-reservation
pyautogui script
Last synced: 5 months ago
JSON representation
Automation of venue reservation for WTU Sunshine Campus Badminton Hall
- Host: GitHub
- URL: https://github.com/xixu-me/automation-of-venue-reservation
- Owner: xixu-me
- License: gpl-3.0
- Created: 2024-05-19T01:59:58.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-04-16T01:58:31.000Z (6 months ago)
- Last Synced: 2025-04-16T02:54:25.247Z (6 months ago)
- Topics: pyautogui, script
- Language: Python
- Homepage:
- Size: 2.09 MB
- Stars: 5
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# 武纺大阳光校区羽毛球馆场地预订自动化
# 注意:此存储库不再维护,请查看 [CWU7](https://github.com/xixu-me/CWU7/blob/main/README.zh-CN.md)。
本仓库提供了填写[表单《纺大阳光校区羽毛球馆场地预订》](https://www.chaojibiaodan.com/form/1d1u2Nk8)的自动化脚本。
## 运行环境
- Windows 操作系统
- Microsoft Edge 浏览器
- Python 3.x
- PyAutoGUI 库
- PIL (Pillow) 库
- NumPy 库
- Pyperclip 库你可以使用以下命令来安装所需的库:
```bash
pip install pyautogui
pip install pillow
pip install numpy
pip install pyperclip
```## 使用方法
1. 下载脚本文件 [`reservation.py`](https://github.com/xixu-zg/Automation-of-Venue-Reservation/blob/main/reservation.py);
2. 填写脚本中的表单信息;
3. 脚本中的坐标可能需要根据你的屏幕分辨率进行调整,你可以使用 [`mouse_position_tracker.py`](https://github.com/xixu-zg/Automation-of-Venue-Reservation/blob/main/mouse_position_tracker.py) 来通过追踪鼠标位置来获取坐标;
4. 在 Microsoft Edge 中新建 InPrivate 窗口并拖拽至屏幕右边缘,使其占据屏幕右半部分;
5. 运行脚本即可,脚本会自动填写表单并提交。## 效果演示
## 注意事项
- 本存储库仅供学习交流使用,不得用于任何商业用途。
- 请勿滥用脚本,以免对他人造成困扰。
- 请勿将脚本用于非法用途,否则后果自负。## 许可证
版权所有 © [Xi Xu](https://xi-xu.me)。保留所有权利。
根据 [GPL-3.0](LICENSE) 许可证授权。