METU Auto Capacity Checker
Installation
- Download Chrome Webdriver or Firefox Geckodriver
- Locate it somewhere to easily reach
- Create Python environment using
mkvirtualenv capacity-checker -p Python3
- Inside the environment, install requirements
pip install -r requirements.txt
- Modify necessary parameters inside run.py
- Run
python run.py
- When the browser is opened, change Display records per page from 10 to All [Screenshot]
- Type
ok
in terminal and hit enter - Enjoy ☕️
Parameters
Parameter | Type | Notes |
---|---|---|
class_code |
string | Class code e.g. 201 (Circuit 1) |
department_code |
string | Department code e.g. 567 (Electrical Electronics Engineering) |
driver_path |
string | Chromedriver or Firefox Driver path |
refresh_rate |
int | Refresh rate for checker in seconds e.g. 5 |
section_no |
int | Section no e.g. 1 |
semester |
string | Semester code e.g. 20212 (2021-2022 Spring) |
voice_feedback |
bool | True if you want voice feedback. Tested only on macOS |
Notes
- Based on Sis METU
- Used Chromedriver version: ChromeDriver 99.0.4844.51 but others will work
- Voice feedback is tested only on macOS
- Download the latest or suitable version for Chrome from https://chromedriver.chromium.org/downloads
- Download the latest or suitable version for Firefox Geckodriver from https://github.com/mozilla/geckodriver/releases