Git Product home page Git Product logo

ustc_pickclass's Introduction

USTC 多线程抢课脚本

使用情形:

  • 课已满,脚本一直运行,一有人退课就抢到
  • 每学期开始选课瞬间抢热门课,比如【茶与健康】等

依赖

pip install requests

运行

按照下方的配置教材填写 config.py

python main.py

示例结果

image-20210125202639946

配置教程

第一步 登录选课界面

image-20210125200634777

第二步 按 F12

分别选择network 和 XHR

image-20210125200728879

第三步 按F5或者浏览器刷新页面

如下点击addable-lessons

将cookie和studentId 填进config.py文件

image-20210125200935357

第四步 选择要抢的课程编号进行多线程抢课

课堂号 填入 course_id

image-20210125201207271

END

仅供学术交流:)

ustc_pickclass's People

Contributors

snallqiu 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.