Website crawler, link checker, and content analyzer
Project description
rms-link-checker
rms-link-checker is a Python command-line application that crawls a website starting from a given root URL, checks all discovered links for validity, detects misplaced asset files, and produces a plain-text report summarizing the results.
Full documentation is available at rms-link-checker.readthedocs.io.
Features
- Crawls an entire website starting from a single root URL
- Checks all discovered links (internal and external) for validity
- Detects broken links (4xx/5xx responses) and broken anchor fragments
- Follows and reports redirect chains
- Detects misplaced asset files (images, documents, scripts, etc.)
- Configurable depth limit, request limit, and thread count
- YAML configuration file support with CLI override precedence
- Non-HTTP scheme links (mailto:, tel:, etc.) recorded and reported
- SSL certificate errors reported per domain
- Plain-text report with 11 sections
Installation
End-user (recommended)
pipx install rms-link-checker
Developer
git clone https://github.com/SETI/rms-link-checker.git
cd rms-link-checker
python3 -m venv venv
source venv/bin/activate
pip install -e ".[dev]"
Quick Start
link_check https://example.com
With options:
link_check https://example.com --max-depth 3 --max-threads 20 -o report.txt
With a configuration file:
link_check --config-file config.yaml
Contributing
Information on contributing to this package can be found in the Contributing Guide.
Licensing
This code is licensed under the Apache License v2.0.
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 rms_link_checker-2.0.0.tar.gz.
File metadata
- Download URL: rms_link_checker-2.0.0.tar.gz
- Upload date:
- Size: 127.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4c16649c9b8bf434cf78cf9b07bf65203ebb0c955df03bf74eea612a1966a5a5
|
|
| MD5 |
51ca3ef0e4a62e26d3ea4fa23ca926c5
|
|
| BLAKE2b-256 |
e1ac91c00ca6470d06400e66edfabdbdf0b7217b7a1f47e8f6e9dc490c0120e1
|
File details
Details for the file rms_link_checker-2.0.0-py3-none-any.whl.
File metadata
- Download URL: rms_link_checker-2.0.0-py3-none-any.whl
- Upload date:
- Size: 38.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
83e32516e75872fdc20df61fdc4ea1d4dc09d3527226532988c5a2d0440640e4
|
|
| MD5 |
206c90ac16f80fb4afeeb1fa9a115abf
|
|
| BLAKE2b-256 |
ffa96264971911f143081fa42e8c86aafeb16ff42211050a84ca1fcbcb45d60b
|