Python script that uses selenium to automatically sign you up for ASU classes
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
- MacOS: https://medium.com/@mintholic1/installing-selenium-webdriver-on-your-mac-1ef5fec7efda
- Windows: https://youtu.be/Xjv1sY630Uc?t=255
IMPORTANT: If you are using Windows (ignore if using MacOS)
- Comment out line 25 where it shows
driver = webdriver.Chrome()
- Uncomment line line 27 where it shows
# driver = webdriver.Chrome(executable_path="c:\webdrivers\chromedriver.exe")
- Ensure the executable_path is correct
- Update ".env sample" file with username and password then change filename to ".env"
- Add class you want to your shopping cart
- 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.
- Auto signs up for ASU classes
- Runs locally
- Stops running when successfully signed up for class
- Easy set up