Bash/XSLT scripts for monitoring onleihe.de for new editions of configured magazines and notification via telegram
change botId
- change
BASE_URL
of your desired onleihe - add "versionInfoList" resources of your desired magazines (under
magazinUrls
)
Thus https://www.onleihe.de/chemnitz/frontend/versionInfoList,0-0-0-109-0-0-0-2008-400005-400750250-0.html would become:
BASE_URL="https://www.onleihe.de/chemnitz/frontend/"
magazinUrls= ( \
versionInfoList,0-0-0-109-0-0-0-2008-400005-400750250-0.html \ # some comment to remember this is chefkoch
)
./onleihe-monitor.sh
Set up cron job as desired. Be sure to change into the script directory.
*/5 * * * * ( cd ~/onleihe && ./onleihe-monitor.sh )
- your personal telegram bot
- Bash
- xsltproc