linkdoc

Rust tool for finding dead links on a site

MIT License

Stars
14
Committers
1

Link Doctor

A simple Rust program for checking for dead links. Inspired by linkchecker.

Usage

$ cargo build
$ cargo run -- http://www.wilfred.me.uk

Known bugs

ID-relative links are treated naively. If there's a link #foo on a page /bar, we end up querying http://example.com/#foo instead of http://example.com/bar#foo. We should either ignore ID-relative links or check for a matching ID on the same page. (We could even do the same for external links, verifying that the ID still exists.)

We don't check for broken links in <img> tags.