Coder Social home page Coder Social logo

rsms-attendance-auto-alerter's Introduction

RSMS-Attendance-Auto-Alerter

documentation python version

RSET students are asked to regularly check if they are wrongly marked absent in RSMS website. RSMS attendance gets locked 3 days after each class, so if students fail to realise and report any discrepancies, they lose their attendance.
Checking the RSMS website everyday is a hassle and students may forget to do so.
This project alerts you if you have been marked absent, hence saving your precious attendance!

How it works ๐Ÿง 

The python script uses selenium to automate RSMS student's login using credentials provided.
If an absent has been marked in the attendance table for the specified dates, an email will be sent automatically to the student's college email address to notify them of this.
Since Monday's attendance will only be locked on Wednesday, the script will have to run only on every Wednesday, Thursday & Friday.
Github actions has been utilised to schedule the script to run every Wednesday, Thursday and Friday at 6:30pm.

How to use this ๐Ÿ’ป

  • Fork this repository.
  • Edit noSele.py to enter your credentials OR even better save your credentials as github secrets named YOUR_UID, RSMS_PASSWORD, SEMESTER(eg: S5) and BRANCH(eg: CS-A).
  • Enable the workflow Python script cronjob from the repository's action tab. You can manually run the workflow by clicking Run workflow button to test if it's working.
  • Thats it! The service will run automatically according to schedule as explained.

Known Issues ๐Ÿค•

  • Like all web scraping projects, any design updates to the target webpage may break the automation script. Luckily, RSMS website is not frequently updated.
  • During some runs, the virtual machine provided by Github Actions seems to install incompatible versions of chromium and it's webdriver. This happens for a few days after a new version of chromium is released. During these days, the code won't work. After a few days, the updated chromium gets installed, solving the issue. Read more about the problem here

rsms-attendance-auto-alerter's People

Contributors

notalanjoseph avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.