Skip to main content

discolinks

Build Status PyPI version

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

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)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

discolinks-0.4.0-py3-none-any.whl (15.1 kB view details)

Uploaded Python 3

Release history Release notifications | RSS feed

This release

0.4.0 This release

2 files

0.3.0

2 files

0.2.0

2 files

0.1.3

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page