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.1.3.tar.gz
(10.5 kB
view hashes)
Built Distribution
discolinks-0.1.3-py3-none-any.whl
(13.6 kB
view hashes)
Close
Hashes for discolinks-0.1.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b0b81413823190525fce8ddbebc8fbdb887dba55c5181cd6b60bb13ac04acb36 |
|
MD5 | 1c1e6469c865f25f388d1c818744ca45 |
|
BLAKE2b-256 | f4aef28a9cfac777dc4d7c0068b8ae5d6a62eb2ae0e6ea7b444003bc65bc9b45 |