A rpilocator RSS feed aggregator that posts to a webhook every 5 minutes if there is a new product to be found.
- Copy
.env.example
to.env
cp .env.example .env
-
Set
WEBHOOK_URL
to your preferred webhook url,RSS_URL
to your rpilocator rss feed,USER_AGENT
can be changed if you want a custom user agent to be reported to rpilocator, andFREQUENCY
is the updated frequency in minutes -
Install required packages
python -m pip install -r requirement.txt
- Run this command to start the watcher
python ./watcher.py
Alternatively, run using docker-compose, editting the docker-compose.yml
file with your environment variables
docker-compose up
Credit to rpilocator for their service.