Also check URLs that point to external domains

linkchecker

  • Command-line client to check HTML documents and websites for broken links.
    More information: <https://linkchecker.github.io/linkchecker/>.
  • Trick copyright: tl;dr; <https://github.com/tldr-pages/tldr>

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

click the source code to copy install linkchecker on any operating system with command-not-found.com