Coder Social home page Coder Social logo

badminton's Introduction

CUC羽毛球场小助手

本项目是一个简易的自动化工具,旨在帮助CUC师生更方便地在线预定羽毛球场地。有完善的GUI用户界面,通过自动化脚本简化预定过程,减少手动预定的麻烦与时间压力。

功能特性

  • 自动请求场地(需要事先获取JWTUserToken)
  • 支持设定预订时间段(一天的1个或2个时间段)
  • 默认开始抢票时间早上6:58。
  • 可选择现有用户,也可以自行增加用户(在config.json中)
  • 日志输出到log.txt中,软件中仅保留最近1000行日志。

使用之前

在使用本程序之前,请确保您完全理解并同意:本工具仅为技术分享,用户应合理、合法使用网络服务,尊重网站的正常运营秩序,遵循学校的相关规定和互联网的相关法律法规。

准备工作

  1. 电脑登录学校球场预订网站。
  2. 按F12打开浏览器的开发者界面。
  3. 切换到Application页面,找到名为JWTUserToken的项,复制其值。

使用说明

  1. 在Releases中,下载最新的软件到本地,都在zip包里了。
  2. 将复制的JWTUserToken值填入软件的Token一栏。
  3. 配置您希望预订的时间段。(第一天或第二天的1个或2个小时段)
  4. 运行程序。
    • 可以选立即抢票。
    • 如果未勾选立即抢票,程序将默认在早上6:58开始尝试预订。

注意事项

  • 程序目前在同时抢两个时间段时可能会遇到问题,尚未定位原因。作为临时解决方案,您可以同时打开两个抢票窗口,分别预订不同的时间段。
  • 请确保您的电脑开机,且网络连接稳定,以避免在抢票过程中发生意外。

贡献

如果您有任何改进意见或者发现了程序的任何问题,欢迎通过Issue或Pull Request的方式告知我们。

免责声明

  • 本项目旨在学习交流,请合理使用,开发者不承担因不当使用造成的任何后果和法律责任。
  • 请遵守学校规定和法律法规,尊重其他用户的正当权益。

License: MIT

badminton's People

Contributors

harbinbear avatar

Stargazers

 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.