A small terminal app for checking Miami University course availability from the command line.
- Opens the Miami University course list in a browser
- Selects the Oxford campus automatically
- Chooses the next available term
- Filters by subject and course number
- Prints the open sections in a clean table
- Python 3.10 or newer
- A Chromium browser for Playwright
pip install -r requirements.txt
playwright install chromiumRun the script:
python main.pyWhen prompted, enter a course in this format:
SUBJECT NUMBER
Examples:
CSE 174MTH 151ENG 111
The script:
- Opens the Miami University course list page
- Sets the campus to Oxford
- Picks the next term from the available term list
- Searches for the subject and course number you entered
- Displays only sections with seats remaining
- The browser is launched in visible mode (
headless=False), so you can watch the search happen. - If no open sections are found, the app prints a short message instead of a table.
- The term selection is inferred from the current date and the options available on the course list page.
