-
Detects website changes (full/part of) using image / html / text comparisons and emails the user a file with the changes highlighted.
-
User can set a threshold value (default = 1.0).
-
For tracking a part of webpage use XPath of the element.
- Add env variables to ".env.test" and rename it to ".env"
$ python -m venv venv
$ source venv/Scripts/activate
(venv) pip install -r requirements.txt
(venv) cd website-change-detector
(venv) python manage.py makemigrations
(venv) python manage.py migrate
(venv) python manage.py createsuperuser
(venv) python manage.py runserverRun both commands on separate terminals
celery -A website_change_detector.celery worker --pool=solo -l info
celery -A website_change_detector beat -l infoIf you want to run in background
celery -A website_change_detector.celery worker --pool=solo -l info --logfile=celery.log --detach
celery -A website_change_detector beat -l info --logfile=celery.beat.log --detach coverage run manage.py test && coverage report && coverage htmlTo run tests, run the following command
python manage.py testhttps://devcenter.heroku.com/articles/getting-started-with-python







