Attendance downloader for KRMU Students.
This script is currently usable only in Linux, but will be usable in Windows as well after the next commit.
If you're on Linux, follow the steps below to use this script:
- Clone this repository.
- Create a Python virtual environment and install the necessary dependencies in it by activating the environment and typing
pip install -r requirements.txt
in the terminal. - Once the dependencies are installed, type
python script.py
to run the script. The output will look similar to the one shown in the image below. (yes, my attendance is pretty bad)
- The attendance screenshot will be available inside the newly created
Screenshots
folder in the same directory as thescript.py
file. The screenshot looks similar to the one shown below.
NOTE:
If you're facing the following error: selenium.common.exceptions.WebDriverException: Message: 'chromedriver' executable may have wrong permissions. Please see https://sites.google.com/a/chromium.org/chromedriver/home
Please make sure to check the Execute option in the chromedriver
file properties as shown below.