Monitor a webpage for any change


I need to get an alert when a website changes. Scraper does not work, cause there is nothing specific to monitor. I found a script, but I can’t get it to run…

Example with Home Assistant:

  - platform: command_line
    name: webpage_monitor
    command: >-
      python3 -c "import hashlib, requests; response = requests.get(''); print(hashlib.sha256(response.content).hexdigest())"
    scan_interval: 10800

source: Monitoring changes in webpages with Home Assistant

Is there an easy solution?