Sends a message to Google Chat when a new opportunity on Digital Outcomes appears.
The script will create a temporary file to store the latest ID of the opportunity to keep track of which opportunities are new and which have been seen already.
Set bot webhook URL in config.ini
. You can create a webook URL by going to your space, clicking on the space name and selecting "⚙️ Manage webhooks".
Create a virtual environment and run pip install
:
pip install -r requirements.txt
Simply run the script to scrape the page and send a message. We recommend setting up a cron job to schedule the task.
python scraper.py
AGPL Version 3, 19 November 2007 (see LICENSE)