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.
- 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.
- 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.
![](https://private-user-images.githubusercontent.com/75639351/255659104-86783769-ddfa-4cf9-8968-b41328d378cd.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjAxMTMwMzQsIm5iZiI6MTcyMDExMjczNCwicGF0aCI6Ii83NTYzOTM1MS8yNTU2NTkxMDQtODY3ODM3NjktZGRmYS00Y2Y5LTg5NjgtYjQxMzI4ZDM3OGNkLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA3MDQlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNzA0VDE3MDUzNFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWZmMGFlZWUxOWNhM2ZmZGMyYWFiMTdkZTk1MTdkMGRlMmQyODE4MjE2OGY1ZTU3Mzg2ZDE5NTY0NDk5MzUyZTImWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.nOmJQdVzPAI9Wsc2VFyabTO4N3du-UzsIslYR4DDZwQ)
- Please go through the comments in
script.py
for initial instructions and understanding. Then,
pip install -r requirements.txt && python script.py
Lastly, do give this repo a ⭐ and help spread the word if you found it even remotely interesting.