Mioh Coursefinder
- Python 100%
| .env | ||
| main.py | ||
| readme.md | ||
| requirements.txt | ||
| Screenshot.png | ||
Miami University Course Finder
A small terminal app for checking Miami University course availability from the command line.
What It Does
- 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
Requirements
- Python 3.10 or newer
- A Chromium browser for Playwright
Installation
pip install -r requirements.txt
playwright install chromium
Usage
Run the script:
python main.py
When prompted, enter a course in this format:
SUBJECT NUMBER
Examples:
CSE 174MTH 151ENG 111
How It Works
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
Notes
- 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.
