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, eg. HTML syntax and antivirus checks.

Installation

See doc/install.txt in the source code archive. Python 2.7.2 or later is needed. It doesn’t work with Python 3 yet, see #40 for details.

pip install linkchecker should NOT be used for now, as it will install the old version of linkchecker. See #4.

Usage

Execute linkchecker http://www.example.com. For other options see linkchecker --help.

Docker usage

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://google.com `

Local HTML file check: ` docker run --rm -it -u $(id -u):$(id -g) -v "$PWD":/mnt linkchecker/linkchecker --verbose index.html `

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-9.4.0.tar.gz (474.9 kB view details)

Uploaded Source

File details

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

File metadata

  • Download URL: LinkChecker-9.4.0.tar.gz
  • Upload date:
  • Size: 474.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.8.2

File hashes

Hashes for LinkChecker-9.4.0.tar.gz
Algorithm Hash digest
SHA256 a14aa55be49b0a8550265e3f1571e368016961ec43cd5621446df13e23cfffdf
MD5 a4d99f4f8daca690644d6266062bc2ae
BLAKE2b-256 c20ce59f8c7f9af0fcb017c193c68e0e06ee057682f6a76369b5b0799a9636da

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