Skip to content

A simple python bot that'll send you an email every time a new document is uploaded on SLcM.

Notifications You must be signed in to change notification settings

udeet27/SLcM-Bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 

Repository files navigation

SLcM-Bot

A simple python bot that'll send you an email every time a new document is uploaded on SLcM.1

  • Sends you 3 most recent pdf docs from the SLcM 'Notifications Tab'.
  • Uses Selenium Webdriver.
  • Doesn't need your login details. Keep your grades private.
  • Took 12+ hours over 3 days to complete. Turns out avoiding logging onto SLcM is the biggest motivator.
  • No more 'is this official?', 'wait for confirmation from SC', or any other human delay in communication process.

Functionality

  • Bypasses captcha using Tesseract OCR
  • Checks the 3 most recent notification titles, if any changes are detected, downloads said pdfs and sends it as an email to receiver list.

Future improvements (Any help is much appreciated)

  • Host script on a cloud service and schedule at different times of day. (personally tried sites like pythonanywhere but free options are severely limited for this imo)
  • Personalised emails and beautification using HTML.
  • Categorise pdfs according to semester,academic year,etc.
  • Sending a whatsapp message rather than email.
  • This is a non-exhaustive list. Any other ideas at all are always welcome by opening an issue in this repo.

Why Open Source ?

How to run ?

  • Please go through the comments in script.py for initial instructions and understanding. Then,
    pip install -r requirements.txt && python script.py

What you'll get

image

Lastly, do give this repo a ⭐ and help spread the word if you found it even remotely interesting.

Sign up for SLcM Bot here

Footnotes

  1. A rare view of the site.

About

A simple python bot that'll send you an email every time a new document is uploaded on SLcM.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages