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 a virtualenv.
uv sync
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
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.4.0.tar.gz
(40.5 kB
view details)
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 discolinks-0.4.0.tar.gz.
File metadata
- Download URL: discolinks-0.4.0.tar.gz
- Upload date:
- Size: 40.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.10.9 {"installer":{"name":"uv","version":"0.10.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
61e24bee844eb4079e4a83bd57f8e9e659a3eb83eb0a79f385ace74fb0cf57dd
|
|
| MD5 |
856c77632c1efd7dd2d7bfd5af20bd7c
|
|
| BLAKE2b-256 |
27a1c247d4f116d8ea2e70ca82b19d8f587f7ac42e4005b37be5a2df09584fea
|
File details
Details for the file discolinks-0.4.0-py3-none-any.whl.
File metadata
- Download URL: discolinks-0.4.0-py3-none-any.whl
- Upload date:
- Size: 15.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.10.9 {"installer":{"name":"uv","version":"0.10.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6cda11ab4c2df3168fd55e6c3db90efdee05ed5774bc458a43a293ec17d7726f
|
|
| MD5 |
3c0cfb19e21891d77554bdd2959e3bdc
|
|
| BLAKE2b-256 |
ae44c2ff8c15cbd8c6b29c6eb4ec52c63963a95622278de406ab850564edf3cc
|