Skip to content

bbc2/discolinks

Repository files navigation

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

About

Command-line tool which checks a website for broken links.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy