The project involves developing a tool or system that monitors the content of a specified website or webpage and alerts the user whenever any changes or updates are detected on that page.
python: 3.12
python3.12 -m venv venvvenv/bin/python -m pip install --upgrade pipvenv/bin/python -m pip install -r requirements.txt
Start a local server:
cd tmp && python3 -m http.server 8000
Execute the script:
venv/bin/python tracker.py
Deploy and run it using monit on the server
Make script executable:
sudo chmod +x tracker.py
Configure monit in monitrc:
## Check custom program status output.
#
check program stadt-koeln-tracker with path "/home/adil/website_content_tracker/venv/bin/python /home/adil/website_content_tracker/tracker.py"
if status != 0 then alert
#
#