Small script to get notified when there're new grades available on the "FHWS Studenten Portal". Uses ugly HTML scraping and there's almost no error handling, deal with it. Very untested. Such wow.
You'll need node.js to run this.
git clone https://github.com/sebbo2002/fhws-grades-push.git
cd ./fhws-grades-push
npm install
I use crontab to run this script regularly.
You can also use the docker container to run this script:
docker build -t fhws-grades-push .
docker run -t -e FHWS_USERNAME=k***** -e FHWS_PASSWORD=***** -e PUSHBULLET_ACCESS_TOKEN=***** -v /opt/fhws-grades-push/result.json:/app/result.json fhws-grades-push
Use environment variables to set login credentials and pushover tokens:
FHWS_USERNAME | Your username for the "FHWS Studenten Portal" |
---|---|
FHWS_PASSWORD | Your password for the "FHWS Studenten Portal" |
PUSHBULLET_ACCESS_TOKEN | Your pushbullet access token. You can get yours here. |
FHWS_USERNAME="k*****" \
FHWS_PASSWORD="*********" \
PUSHBULLET_ACCESS_TOKEN="*********" node app