Skip to main content

Check web (or commands) for changes since last run and notify

Project description

webchanges checks web content and notifies you via e-mail (or one of many other supported services) if a change is detected. webchanges can also check the output of local commands. The notification includes the changed URL or command and a summary of what has changed. This project is a fork of urlwatch as suggested by its author to optimize it for HTML.

webchanges enables anonymous notifications of web content changes.

Requirements

webchanges requires Supported Python versions.

You should use the latest version of Python if possible. If you’re using an older version, be aware that for each minor version (3.x), only the latest bugfix release (3.x.y) is supported. Older Python versions are supported for 3 years after being obsoleted by a new major release.

Installation

Install webchanges PyPI version Kit format Package stability with:

pip install webchanges

Documentation

The documentation is hosted on Read the Docs Documentation status.

Quick Start

Initialize

  1. Create the default config.yaml (configuration) and jobs.yaml (jobs) files and open an editor to add your jobs to the latter by running:

webchanges --edit
  1. To change the default configuration, e.g. to receive reports (change notifications) by e-mail and/or one of many other methods, run:

webchanges --edit-config

Run

webchanges

This checks the sources in your jobs and will report on (e.g. display) any changes found from the previous run.

webchanges does not include a scheduler. We recommend using a system scheduler to automatically run webchanges periodically:

  • On Linux or macOS, you can use cron; crontab.guru will build a schedule expression for you (if you have never used cron before, see here).

  • On Windows, you can use the built-in Windows Task Scheduler.

Code

Code coverage by Coveralls Issues at https://github.com/mborsetti/webchanges/issues

The code and issues tracker are hosted on GitHub.

Contributing

We welcome any contribution, e.g. documentation, bug reports, new features, etc., as both pull requests and issues. More information for developers and documentation editors is here, and our wishlist is here.

License

License at https://pypi.org/project/webchanges/

Released under the MIT License, but including code licensed under the BSD 3-Clause License. See the license here.

Improvements from urlwatch

You can seamlessly upgrade from urlwatch 2.23 (see here) and benefit from many HTML-focused improvements including:

  • Report links are clickable!

  • Formatting such as bolding / headers, italics, underlining, list bullets (•) and indentation is preserved

  • Uses color and strikethrough to highlight added and deleted lines, and long lines wrap around

  • HTML is rendered correctly by email clients who override stylesheets (e.g. Gmail)

  • Other legibility improvements

  • Multiple changes to how Pyppeteer is run (for websites that need JavaScript rendering before capture) increasing stability, reliability, flexibility and control

  • New filters such as additions_only, which makes it easier to track content that was added without the distractions of the content that was deleted

  • Better documentation

  • More reliability and stability, including a 33 percentage point increase in testing coverage

  • Many other additions, refinements and fixes (see detailed information)

Examples:

https://raw.githubusercontent.com/mborsetti/webchanges/main/docs/html_diff_filters_example_1.png

https://raw.githubusercontent.com/mborsetti/webchanges/main/docs/html_diff_filters_example_3.png

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

webchanges-3.7.1-py3-none-any.whl (70.1 kB view details)

Uploaded Python 3

File details

Details for the file webchanges-3.7.1-py3-none-any.whl.

File metadata

  • Download URL: webchanges-3.7.1-py3-none-any.whl
  • Upload date:
  • Size: 70.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.6.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.9.5

File hashes

Hashes for webchanges-3.7.1-py3-none-any.whl
Algorithm Hash digest
SHA256 d8bf4dc61252d33e5379e56f3c2d86fd18edf3815697ec4ac3b1f9a6d8b089a2
MD5 5682b4aa38ea3f5b6738dd730edf8274
BLAKE2b-256 c2eff4a91eeb8494b4138822ca4780a2f9ac097b74299e358a9f3fa9c3f456c8

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page