Skip to content

benbousquet/class-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Class Bot

Python script that uses selenium to automatically sign you up for ASU classes

Installation

Clone the project

  git clone https://github.com/benbousquet/class-bot.git

Go to the project directory

  cd class-bot

Install dependencies

  pip install -r requirements.txt

Install Selenium Web Driver

IMPORTANT: If you are using Windows (ignore if using MacOS)

  1. Comment out line 25 where it shows driver = webdriver.Chrome()
  2. Uncomment line line 27 where it shows # driver = webdriver.Chrome(executable_path="c:\webdrivers\chromedriver.exe")
  3. Ensure the executable_path is correct

Usage

  1. Update ".env sample" file with username and password then change filename to ".env"
  2. Add class you want to your shopping cart
  3. Run the following command
python main.py

After a single class is signed up for, the program will crash (as intended) but due to slow page loading or bad requests it might crash after a few hours of running so make sure to check it often.

Features

  • Auto signs up for ASU classes
  • Runs locally
  • Stops running when successfully signed up for class
  • Easy set up

Authors

License

MIT

About

Automatically signs up for classes 🤖

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages