Skip to main content

check links in web documents or full websites

Project description

Build Status License

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

Installation

Python 3.6 or later is needed. Using pip to install LinkChecker:

pip3 install linkchecker

The version in the pip repository may be old, to find out how to get the latest code, plus platform-specific information and other advice see doc/install.txt in the source code archive.

Usage

Execute linkchecker https://www.example.com. For other options see linkchecker --help, and for more information the manual pages linkchecker(1) and linkcheckerrc(5).

Docker usage

If you do not want to install any additional libraries/dependencies you can use the Docker image which is published on GitHub Packages.

Example for external web site check:

docker run --rm -it -u $(id -u):$(id -g) ghcr.io/linkchecker/linkchecker:latest --verbose https://www.example.com

Local HTML file check:

docker run --rm -it -u $(id -u):$(id -g) -v "$PWD":/mnt ghcr.io/linkchecker/linkchecker:latest --verbose index.html

In addition to the rolling latest image, uniquely tagged images can also be found on the packages page.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

LinkChecker-10.1.0.tar.gz (528.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

LinkChecker-10.1.0-py3-none-any.whl (277.9 kB view details)

Uploaded Python 3

File details

Details for the file LinkChecker-10.1.0.tar.gz.

File metadata

  • Download URL: LinkChecker-10.1.0.tar.gz
  • Upload date:
  • Size: 528.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.4.2 requests/2.14.2 setuptools/45.2.0 requests-toolbelt/0.8.0 tqdm/4.30.0 CPython/3.8.10

File hashes

Hashes for LinkChecker-10.1.0.tar.gz
Algorithm Hash digest
SHA256 ea9354665341c9f1650b6bb716a64d2022635e7fa38e5e05280ba79a57c237b2
MD5 8f4da4c39083fcf184d76894629047cc
BLAKE2b-256 e5730215eb1e112f907f491f86131e4db4a4b83cda5b8d12acd10fa8068ff7af

See more details on using hashes here.

File details

Details for the file LinkChecker-10.1.0-py3-none-any.whl.

File metadata

  • Download URL: LinkChecker-10.1.0-py3-none-any.whl
  • Upload date:
  • Size: 277.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.4.2 requests/2.14.2 setuptools/45.2.0 requests-toolbelt/0.8.0 tqdm/4.30.0 CPython/3.8.10

File hashes

Hashes for LinkChecker-10.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 022acbfb503ee2407742d91ed885353831fb5b444c30c5c230fb85b769f793ec
MD5 d859fc537ee66b5cff8dfc49e6d4fad5
BLAKE2b-256 b55521941cce716f974eb6ece97a3429052732a2a83888c48c65a924b834c4e2

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page