Skip to content

robin-ede/TAMU-registration-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Texas A&M University Class Registration Notifier

This Python script continuously checks seat availability for a class at Texas A&M University. When a seat becomes available, the script sends a notification to a specified Discord channel using a webhook.

Prerequisites

  1. Python 3.x

  2. Google Chrome browser (as the script uses the Chrome webdriver)

  3. Libraries: selenium and requests

    Install them using:

    pip install selenium requests
  4. ChromeDriver: Ensure you have ChromeDriver downloaded and added to your system's PATH, or the same location as your script.

Setup

  1. Update the DISCORD_WEBHOOK_URL variable in the script with your Discord webhook URL.
  2. If the URL of the registration page changes in the future, update the REGISTRATION_URL variable.

How to Use

  1. Run the script:

    python main.py
  2. A Chrome browser window will open, navigating to the registration page.

  3. Manually log in to the registration portal using your credentials.

  4. After choosing your registration term, find the course you want to monitor under "Courses" and click on the sections button next to it to bring up all of the available sections.

  5. After navigating to the sections page of the class, go back to the terminal and press Enter to continue.

  6. The script will check for seat availability every 60 seconds. If a seat is available, you'll get a notification on Discord

Notes

  • The script uses a specific CSS selector (span.css-1np60a3-highlightCss) to detect seat availability. If the website's structure changes in the future, you may need to update this selector.

About

TAMU Class Registration Alert Bot

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages