check links in web documents or full websites
Project description
Check for broken links in web sites.
Features
recursive and multithreaded checking and site crawling
output in colored or normal text, HTML, SQL, CSV, XML or a sitemap graph in different formats
HTTP/1.1, HTTPS, FTP, mailto:, news:, nntp:, Telnet and local file links support
restrict link checking with regular expression filters for URLs
proxy support
username/password authorization for HTTP, FTP and Telnet
honors robots.txt exclusion protocol
Cookie support
HTML5 support
a command line and web interface
various check plugins available, eg. HTML syntax and antivirus checks.
Installation
See doc/install.txt in the source code archive for general information. Except the given information there, please take note of the following:
Python 3.6 or later is needed.
The version in the pip repository may be old. Instead, you can use pip to install the latest code from git: pip3 install git+https://github.com/linkchecker/linkchecker.git.
Usage
Execute linkchecker https://www.example.com. For other options see linkchecker --help.
Docker usage
The Docker images are out-of-date, pip installation is the only currently recommended method.
If you do not want to install any additional libraries/dependencies you can use the Docker image.
Example for external web site check:
docker run --rm -it -u $(id -u):$(id -g) linkchecker/linkchecker --verbose https://www.example.com
Local HTML file check:
docker run --rm -it -u $(id -u):$(id -g) -v "$PWD":/mnt linkchecker/linkchecker --verbose index.html
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for LinkChecker-10.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 97039d8ef166fc6313816f853bdf7d4a98243d3c3d4953eedda339c5d0072b20 |
|
MD5 | 41765f6fc1c6b294c3bc05038df5b79c |
|
BLAKE2b-256 | f0b8a0d3fc5e64c5146bec9013aef4a894d8888244abd82c7b7d3bd0abdc90a3 |