Introduction
Link Check is a Python program for finding good/dead links in any file type. Check out the code here.
Getting Started
To locally install link-check follow these steps
Prerequisites
Installation
- Clone the repo
git clone https://github.com/MLJBrackett/link-check.git
- Use the package manager pip to install the requirements.
pip install -r requirements.txt
How to Use
For the program to run with a file you must either use the -f or -r flag
Use the -h/--help flags to see arguements
python link-check.py -h
Check URLs without redirect support
python link-check.py -f links.txt
Check URLs with redirect support (Redirection causes the program to run slower)
python link-check.py -r links.txt
Check version of tool
python link-check.py -v
Features
- Colourized output & -v or --version prints name and version
- Redirect support & more HTTP result codes
- Supports timeouts, DNS issues, server errors
- Requests headers instead of full body
License
Distributed under the MIT License.
Top comments (0)