Command-line tool which checks a website for broken links.
Project description
discolinks
Discolinks looks for broken links on a website.
Features:
- Starts on one page and recursively finds the other reachable pages on the website.
- Asynchronous: Maximum number of parallel requests is configurable.
- JSON output available: Useful for testing and scripting.
Getting Started
$ discolinks --url https://example.net
📂 Results: 13 links (10 ok, 3 failed)
├── 📄 https://example.net/foo
│ ├── 🔗 /bad_absolute_href: 302 → 404
│ └── 🔗 bad_relative_href: 404
└── 📄 https://example.net/bar
└── 🔗 https://example.org/bad_external_href: Connection error
Development
... # Activate virtualenv.
poetry install
make check
Release
- Create a branch with a name like
release-1.2.3
. - Update version in
src/discolinks/__version__.py
. - Update version in
pyproject.toml
. - Update changelog.
- Open a pull request and get it merged.
- Tag the release
git tag --message 'Version 1.2.3' 1.2.3
- Push tags:
git push --tags
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
discolinks-0.3.0.tar.gz
(11.1 kB
view details)
Built Distribution
File details
Details for the file discolinks-0.3.0.tar.gz
.
File metadata
- Download URL: discolinks-0.3.0.tar.gz
- Upload date:
- Size: 11.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.11.9 Linux/6.5.0-1025-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 59c9b9df27b3e3423679179f32f416c48c9b68ff7b35f07cc0b5d19de87e4f5e |
|
MD5 | 72fe719720b10bc0a8ea8d96c89f46e1 |
|
BLAKE2b-256 | e1949aa787fc008695af73b02b76fdafb79087ed1f5d7691e81af03709abd4f5 |
File details
Details for the file discolinks-0.3.0-py3-none-any.whl
.
File metadata
- Download URL: discolinks-0.3.0-py3-none-any.whl
- Upload date:
- Size: 15.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.11.9 Linux/6.5.0-1025-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2a43c767499b43953c4f5345ea961d4dc426cd69e1c3408d21e85c2f2235f2fa |
|
MD5 | 2620ded38cbdd4df43f24709659af6a9 |
|
BLAKE2b-256 | 33a404736cbf7e46163a04523eea7175c953187f5e71950903bec997270944ab |