GithubHelp home page GithubHelp logo

selectcourse's Introduction

Select Course

Requirements

  • Python3
  • Dependencies
    • requests
    • beautifulsoup4
    • lxml
    • rsa

Usage

  1. Install dependencies

pip3 install -r requirements.txt

  1. Run the code

python3 main.py

  1. Input your account and password

Follow the instructions to input your account and password.

  1. Input term ID

Input your target term. The term number is consists of 5 digits. The first 4 digits represent the year this semester begins. The last digit represents the term number.

For example, the 2021-2022 spring semester should be 20213.

  1. Input your Course No. and Teacher No.

Follow the insturctions to input the course number and teacher number.

  1. Enjoy.

The program will use course query to check the availability of the course. If the course is available, the program will try to select the course.

Todo

  • Refactor the code
  • Store the login confidential automatically
  • Support query multiple courses at the same time
  • ...

selectcourse's People

Contributors

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