tldr/pages/common/linkchecker.md
2019-12-01 10:25:29 +08:00

569 B

linkchecker

Command line client to check HTML documents and websites for broken links. More information: https://linkchecker.github.io/linkchecker/.

linkchecker {{https://example.com/}}

  • Also check URLs that point to external domains:

linkchecker --check-extern {{https://example.com/}}

  • Ignore URLs that match a specific regex:

linkchecker --ignore-url {{regex}} {{https://example.com/}}

  • Output results to a CSV file:

linkchecker --file-output {{csv}}/{{path/to/file}} {{https://example.com/}}