Tweakers provides a RSS feed for all VA ads. this script allowes you to only look at a specific category.
this script will poll and parse all Ads on the 1 page and check it with its previous state.
if a new Ad has been found, it will notify you via Pushover.
you will also be able to add keywords to the BOLO list. so a different priority can be assigned for specific items that you are looking for in this sub category.
feel free to implement / change anything to suite your needs.
this script will come without any garantuee of working.
Keep our fellow IT crowd @ tweakers in mind when setting a poll rate, we do not want to cause any extra load or harm to there site.
This script has been tested on Ubuntu 16.04 using PHP 7.0
- clone this repo or download the check.php
- use your favorite editor to open the file and edit private (config) variable in the beginning of the class
- set up a cronjob
*/5 * * * * php /home/seosepa/check.php >> /home/seosepa/tweakers.log