This script is a cron job and has been written with an intention to notify you via email whenever you get a new parcel, courier, letter etc. at IIIT Hyderabad, and your delivery is logged at Nilgiri. Read up ahead for usage instructions and setup.
- External Python Libraries:-
- Cron
- Google Chrome
Fill up the below section in main.py
, here, you have to provide the sign-in details for any gmail account. This account will be used to send emails to you.
This can be found at line 11 onwards.
# FILL THIS UP OTHERWISE THE SCRIPT WON'T RUN
#################################################
# Login details of any gmail account
bot_mail = ''
password = ''
#################################################
After setup, run the script as:
python3 main.py -q YOUR_NAME -m EMAIL
Note that your name should be written without spaces, use underscore if full name is typed.
# For checking once every day.
1 0 * * * python3 $PATH_TO_SCRIPT/main.py -q YOUR_NAME -m EMAIL
Do not deploy the script at a greater frequency than once per hour.
If you face any problems, have any suggestions, create issues here in this repository. Contributions are welcome.