Skip to content

Modules

Muhammad Asthi Seta Ari Yuwana edited this page Sep 23, 2021 · 9 revisions

siakad_auto_attendance

Goal: Automate attendance filling in siakad.
Dependencies: selenium, requests

Description:
This module attempts to automate attendance filling in SMK Telkom Malang's Student Academy System (SIAKAD) without using selenium to achieve the wanted goal. Albeit it will use selenium in order to login into the user's account.

How it works:
This module will try to access siakad_user_credential.json to search for the user's account details and web browser preference that will be used in the first authentication. Later it will store the retrieved cookies into cookies.pkl that is encoded using python's pickle module. After that, it stores the retrieved cookies and reuses them for future usages.

When first used, it will launch the preferred browser and attempt to log in with the specified user credentials. Notice, when you download it, the siakad_user_credential.json file is missing, but you don't have to worried about it. Because, if the module can't find it, it will create one with default data, then you will be asked to enter your username, password, and the browser you are going to use (preferred web browser)

Configuration:
Run the setup.py script to interactively configure the module.

Clone this wiki locally