CLI tool to monitor web page updates
Project description
Page Update Monitor
Quick Start
pip install page-update-monitor
pum add
pum check
A simple CLI tool to monitor web page updates. Register any web page and check whether it has changed since the last time you checked. You can monitor the entire page or specific elements using CSS selectors.
Features
- Monitor full web pages for changes
- Monitor specific elements using CSS selectors
- Simple and intuitive CLI
- Lightweight (no browser required)
- Local JSON storage (no database needed)
Installation
Install via pip:
pip install page-update-monitor
Usage
pum [COMMAND]
Check version:
pum --version
pum -v
Commands
See help
pum --help
Check for updates
pum check
Checks all registered websites and reports changes.
Add a website
pum add
You will be prompted to enter:
-
Site name
-
URL
-
Mode:
full(default): monitor the entire pageselector: monitor a specific HTML element
If you choose selector mode, enter a CSS selector.
Examples:
#main
.content
The tool will validate the selector and show a preview:
[OK] #main -> <content preview>...
List websites
pum list
With details:
pum list -d
Remove a website
pum remove [name]
Alias:
pum rm [name]
Example:
pum rm example-site
Show version
pum version
Or:
pum --version
pum -v
How It Works
- Fetches HTML using
requests - Parses content with
BeautifulSoup - Stores previous results locally
- Compares current content with the last snapshot
If a difference is detected, it reports an update.
Data Storage
Configuration files are stored in the user config directory:
- Linux:
~/.config/page-update-monitor/ - macOS:
~/Library/Application Support/page-update-monitor/ - Windows:
%APPDATA%/page-update-monitor/
Example Workflow
pum add
pum list
pum check
Requirements
- Python 3.10+
Dependencies
- typer
- requests
- beautifulsoup4
- rich
Development
Clone the repository:
git clone https://github.com/yourname/page-update-monitor.git
cd page-update-monitor
pip install -e .
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file page_update_monitor-1.0.1.tar.gz.
File metadata
- Download URL: page_update_monitor-1.0.1.tar.gz
- Upload date:
- Size: 7.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0a71413a4fcd3c49f05c0ddd7a787617858596f46a3eecea1cad7e5c3d032fac
|
|
| MD5 |
f8f0c9d3b7eaeb9a533c1b0710f974a8
|
|
| BLAKE2b-256 |
b3df3f08ceace333633bf4747b1c230499d6b8b1f5bb277c495fca484b4aa1cb
|
File details
Details for the file page_update_monitor-1.0.1-py3-none-any.whl.
File metadata
- Download URL: page_update_monitor-1.0.1-py3-none-any.whl
- Upload date:
- Size: 8.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4a96d57ab2477d97600b5ef98473bb6d33c5178c0ede352aecde2f1b8a5e518e
|
|
| MD5 |
e64e55d34e553559e11b557d59d7e6eb
|
|
| BLAKE2b-256 |
014b512b1249de11ce38ff96b04918e827f587026ef303c7dfd305a6c8e8d70d
|