This Python script automates the process of navigating to each ManageBac class, copying the overall grade, and calculating the GPA manually. This highly customizable script provides a quick way to track your academic progress, and provides valuable insights on how to improve your grade.
- Automated MB Grade Scraping: Simply pass your cookie value into the
config.tomlfile, and the script will automatically scrape grades. - GPA Calculation: Unweighted GPA is calculated automatically
- Excel Export: All data is exported into an Excel file, providing an easy way to view your progress.
Linux & macOS:
git clone https://github.com/tigeryfan/ManageBac-GPA-Scraper.git
cd ManageBac-GPA-Scraper
pip install -r requirements.txtWindows:
Warning
Untested as I do not own a Windows machine. PRs welcome!
git clone https://github.com/tigeryfan/ManageBac-GPA-Scraper.git
cd ManageBac-GPA-Scraper
pip install -r requirements.txtFill the config.toml file with your preferences.
You may be confused by what to put in mb_cookie. Here's a step-by-step guide:
- Head to your school's MB portal and login if necessary.
- Open DevTools (Usually F12)
- At the top of the window that just popped up, click Storage (it may be hidden behind the double chevrolets)
- Under Cookies, click your school's MB domain
- Double click the string of characters to the right of
_managebac_sessionand copy the highlighted text - Paste that inside of the double quotes in
config.toml
After configuring config.toml, simply run main.py.
python main.pyTip
Some Linux or macOS users may need to use python3 instead of python.
Keep in mind that the ManageBac cookies expire after some time, so if the script fails, follow these instructions again.
MIT License - Copyright (c) 2024 tigeryfan

