https://github.com/polarhive/attend
"To attend, or not to attend—that is the question"
https://github.com/polarhive/attend
api beautifulsoup bot pesu render telegram-bot university
Last synced: 12 months ago
JSON representation
"To attend, or not to attend—that is the question"
- Host: GitHub
- URL: https://github.com/polarhive/attend
- Owner: polarhive
- License: gpl-3.0
- Created: 2025-03-20T07:39:25.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-04-24T20:06:24.000Z (about 1 year ago)
- Last Synced: 2025-04-24T21:22:43.690Z (about 1 year ago)
- Topics: api, beautifulsoup, bot, pesu, render, telegram-bot, university
- Language: Python
- Homepage: https://polarhive.net/attend
- Size: 57.6 KB
- Stars: 4
- Watchers: 1
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# PESU Attendance Tracker
Fetches attendance details from PESUAcademy, provides real-time logs, and supports multiple SRN formats and mappings.
## Setup
```sh
python -m venv .venv
source .venv/bin/activate # On Windows use `venv\Scripts\activate`
pip install --upgrade pip
pip install -r requirements.txt
```
## Running the Application
```sh
python main.py
```
## Adding your branch
Update the `mapping.json` file and open a PR
- Log in to [PESUAcademy](https://www.pesuacademy.com/Academy/s/studentProfilePESU).
- Open the developer tools by right-clicking on the page and selecting `Inspect Element` (Hotkey: `F12` or `CTRL+SHIFT+I`).
- Navigate to the `Network` tab and filter for all requests.
- Go to the attendance page and select your semester.
- Look for a network request to `/studentProfilePESUAdmin` and click on it.
- In the `Payload` or `Request` tab, locate the form data.
- - It should look like: `controllerMode=6407&actionType=8&batchClassId=2660&menuId=660`
- - The `batchClassId` value `2660` is what you need to for your `BATCH_CLASS_ID` key
- Define your `SUBJECT_MAPPING` in key-value pairs based on your subjects.
## Contributions
Feel free to open issues and PRs for improvements and feature requests.