https://github.com/anonymerniklasistanonym/newyearplannotifieraeg
Python 3 script that scraps the website "http://www.aeg-boeblingen.de/index.php/aktuelles/stundenplan" and recognizes when a new year plan was published.
https://github.com/anonymerniklasistanonym/newyearplannotifieraeg
cronjob email-notifications python-3 webscraping
Last synced: about 1 year ago
JSON representation
Python 3 script that scraps the website "http://www.aeg-boeblingen.de/index.php/aktuelles/stundenplan" and recognizes when a new year plan was published.
- Host: GitHub
- URL: https://github.com/anonymerniklasistanonym/newyearplannotifieraeg
- Owner: AnonymerNiklasistanonym
- License: mit
- Created: 2017-09-08T14:51:13.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2017-09-12T22:24:02.000Z (over 8 years ago)
- Last Synced: 2025-02-14T20:46:57.212Z (over 1 year ago)
- Topics: cronjob, email-notifications, python-3, webscraping
- Language: Python
- Homepage:
- Size: 8.79 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# NewYearPlanNotifierAEG
Python 3 script that scraps the website of the school and recognizes when a new year plan was published.
**Works also on Python 2, but on my Raspberry Pie 3 it made problems. That means use Python 3 if you can instead of Python 2.**
## How to use it?
Every time you execute this program it will say you in the console if the information have changed and displays the new text with links to the current year plan of this website:
http://www.aeg-boeblingen.de/index.php/aktuelles/stundenplan
## How to get email notifications?
If you also want to get email notifications each time the script recognizes that a change has happened you can use the [SendGmailSimplified](https://github.com/AnonymerNiklasistanonym/SendGmailSimplified) submodule:
1. Therefore follow first the instructions in the [README.md](https://github.com/AnonymerNiklasistanonym/SendGmailSimplified/blob/master/README.md) file of the submodule.
2. Set now in the [script.py](script.py) `USE_GMAIL = True`
3. And insert here your email address where the notification should be send:
`RECIPIENTS = ["yourEmailAdress@sonstwas.com", "onemore@gmail.com"]`
4. If you want you can use it like me with the cron scheduler to specific times for changes (look for more [here](https://www.raspberrypi.org/documentation/linux/usage/cron.md) and [here](https://github.com/AnonymerNiklasistanonym/RaspiForBeginners)).