0.0
Repository is archived
No commit activity in last 3 years
No release in over 3 years
Crawls a static site mirror testing all links. Reports links which don't return 200 or redirect to a 200.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

Runtime

~> 2.7
~> 1.5
 Project Readme

Bad link finder

Crawls a mirrored site and checks that all links either return a successful response or redirect to somewhere that does.

Usage

Set environment variables:

  • MIRROR_DIR, to the location of your mirrored site. Local files will be read in alphabetical order.
  • REPORT_OUTPUT_FILE, to the location you'd like the CSV saved to.
  • SITE_HOST, to the full host of the live site you'd like to test against, including protocol. For example, https://www.example.com
  • START_FROM, optional, specify a file on disk from which to start, e.g. example-folder/example.html. Will check this file and all following files. Useful for restarting aborted runs.

Then execute bad_link_finder.