Check for broken links with Link Checker.
For example:
docker run --rm dcycle/broken-link-checker:3 --help
docker run --rm dcycle/broken-link-checker:3 http://example.com > ~/Desktop/result.csv
Checking against a site running on a docker container:
docker run --rm --link my_container_name:site dcycle/broken-link-checker:3 http://site
You will now have access to the csv file of broken links at ~/Desktop/result.csv.
The project has a Dockerfile, and there is an official project on the Docker hub.
- The project's Docker does not seem to work, as it gives an error about Python 2 being end of life. See this pull request on the linkchecker project.
- This project is automatically rebuilt using the latest version weekly; the project's Dockerfile has not been updated since Summer 2019.
- This project automatically outputs as CSV.
See this project on the Docker Hub.
You can make a copy of this handy Google Sheets, then:
- in the "raw" tab, import the result (output) of this utility. Note, you must replace the current sheet AND use a custom delimiter ";"
- the "report" tab will show your data in the columns "Page which contains a link", "Link text", "Link target", "Issue".