Fetches attendance details from PESUAcademy, provides real-time logs, and supports multiple SRN formats and mappings.
python3 -m venv .venv
source .venv/bin/activate # On Windows use `venv\Scripts\activate`
pip install --upgrade pip
pip install -r requirements.txtpython3 main.pyUpdate the mapping.json file and open a PR
- Log in to PESUAcademy.
- Open the developer tools by right-clicking on the page and selecting
Inspect Element(Hotkey:F12orCTRL+SHIFT+I). - Navigate to the
Networktab and filter for all requests. - Go to the attendance page and select your semester.
- Look for a network request to
/studentProfilePESUAdminand click on it. - In the
PayloadorRequesttab, locate the form data. -
- It should look like:
controllerMode=6407&actionType=8&batchClassId=2660&menuId=660
- It should look like:
-
- The
batchClassIdvalue2660is what you need to for yourBATCH_CLASS_IDkey
- The
- Define your
SUBJECT_MAPPINGin key-value pairs based on your subjects.
Feel free to open issues and PRs for improvements and feature requests.