This script logs into IUBH's MyCampus using Puppeteer and then downloads the files provided there. I use this script so that I don't have to download the files manually. The script was built to be triggered periodically e.g. by cronjob, therefore for example already existing files or renamed files are recognized to some extent.
To install the javascript module via npm run:
npm install -g @sebbo2002/iubh-campus-sync
You can also use the provided Docker container:
docker pull sebbo2002/iubh-campus-sync
Environment Variable | Description |
---|---|
SYNC_PATH |
Absolute folder path to sync all the files to. |
SYNC_USERNAME |
MyCampus Username |
SYNC_PASSWORD |
MyCampus Password |
Copyright (c) Sebastian Pekarek under the MIT license.