Findbrokeninternallinks is a Python script that searches one or more HTML files for internal links that are invalid, reporting them to standard output.
I wrote this to verify that the documentation produced by mkdocs did not have any dangling references. I could not find a non-web-based application that did what I want. Linkchecker has problems checking internal links. The W3C Link Checker has problems when running on local files.
- Python 3
- lxml