check links in web documents or full websites
Find a file
2020-09-25 19:33:15 +01:00
.github add github issue template 2018-03-26 09:35:43 -04:00
cgi-bin Update references to GitHub project from wummel to linkchecker 2019-04-18 19:59:52 +01:00
config Rename blacklist to failures 2020-08-23 17:19:26 +01:00
doc Assorted German man page translation fixes 2020-09-25 19:33:15 +01:00
linkcheck Merge pull request #498 from cjmayo/linkchecker 2020-09-24 19:31:07 +01:00
po Update translation files for MS link in configuration/confparse.py 2020-06-19 16:44:18 +01:00
scripts Add slack to the list of ignored schemes 2020-08-09 17:10:26 +01:00
tests Reuse linkcheck.bookmarks.safari.has_biplist in tests 2020-09-23 19:38:17 +01:00
windows Remove home-cooked htmlparser and use BeautifulSoup 2019-07-22 19:59:37 +01:00
.gitattributes Add .gitattributes 2013-12-04 20:04:34 +01:00
.gitignore Add doc/i18n for man 2020-08-15 17:02:40 +01:00
.project Add Eclipse Pydev project files. 2011-05-18 21:12:18 +02:00
.pydevproject Updated pydev settings. 2011-12-17 19:13:43 +01:00
.travis.yml Drop Python 3.5, add 3.9 2020-09-14 19:55:05 +01:00
CODE_OF_CONDUCT.rst Include CONTRIBUTING and CODE_OF_CONDUCT in Sphinx documentation 2020-08-15 17:02:40 +01:00
CONTRIBUTING.rst Include CONTRIBUTING and CODE_OF_CONDUCT in Sphinx documentation 2020-08-15 17:02:40 +01:00
COPYING Moved some files into the doc/ subdirectory. 2010-03-06 21:52:25 +01:00
dev-requirements.txt Remove unused py2app from dev-requirements.txt 2020-08-23 17:24:09 +01:00
Dockerfile Don't remove directories from Docker image 2020-09-01 19:24:10 +01:00
install-rpm.sh Fix RPM installer generation. 2012-04-11 18:41:34 +02:00
linkchecker Don't rely on linkcheck/__init__.py for log aliases in linkchecker 2020-09-24 19:23:13 +01:00
Makefile Update Makefile to use python3 2020-08-16 19:50:59 -07:00
MANIFEST.in Generate man pages with Sphinx 2020-08-15 17:02:40 +01:00
pytest.ini Move some pytest options into pytest.ini 2019-10-21 17:42:29 +03:00
README.rst Drop Python 3.5, add 3.9 2020-09-14 19:55:05 +01:00
requirements.txt Fix deprecation warning for resolver.query() 2020-09-14 19:55:05 +01:00
robots.txt Add non-ascii values to test robots.txt 2008-07-13 13:01:59 +00:00
setup.cfg Merge pull request #470 from cjmayo/sphinx 2020-08-22 16:26:41 +01:00
setup.py Fix deprecation warning for resolver.query() 2020-09-14 19:55:05 +01:00
tox.ini Fix deprecation warning for resolver.query() 2020-09-14 19:55:05 +01:00

LinkChecker
============

|Build Status|_ |License|_

.. |Build Status| image:: https://travis-ci.com/linkchecker/linkchecker.svg?branch=master
.. _Build Status: https://travis-ci.com/linkchecker/linkchecker
.. |License| image:: https://img.shields.io/badge/license-GPL2-d49a6a.svg
.. _License: https://opensource.org/licenses/GPL-2.0

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:

.. _doc/install.txt: doc/install.txt

Python 3.6 or later is needed.

The version in the pip repository is old. Instead, you can use pip to install the latest release from git: ``pip3 install git+https://github.com/linkchecker/linkchecker.git``. See `#359 <https://github.com/linkchecker/linkchecker/issues/359>`_.

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