LINKCHECKERRC(5)
β¨ LINKCHECKERRC(5) β¨
okay bestie, listen up β this is the linkcheckerrc page from the LinkChecker manual, and it's lowkey a whole vibe. no cap, it's giving "config file energy" and we're gonna get through it together π
πΈ NAME πΈ
linkcheckerrc β the configuration file for LinkChecker. yep, that's the whole name. iconic.
π¦ DESCRIPTION π¦
so linkcheckerrc is literally the config file for LinkChecker. it's written in an INI-style format (iykyk, sections and key=value, super chill).
the default file location is:
$XDG_CONFIG_HOME/linkchecker/linkcheckerrcβ or else~/.config/linkchecker/linkcheckerrcon Unix π§%HOMEPATH%\.config\linkchecker\linkcheckerrcon Windows systems πͺ
π SETTINGS π
π checking
cookiefile=filenameβ read a file with initial cookie data πͺ. the cookie data format is explained over inlinkchecker(1). Command line option:--cookiefiledebugmemory=[0|1]β write memory allocation statistics to a file on exit, and heads up, it requires meliae. the default is not to write the file. Command line option: nonelocalwebroot=STRINGβ when checking absolute URLs inside local files, the given root directory is used as base URL. note that the given directory must have URL syntax, so it must use a slash to join directories instead of a backslash. and the given directory must end with a slash. Command line option: nonerecursionlevel=NUMBERβ check recursively all links up to given depth. a negative depth will enable infinite recursion βΎοΈ. default depth is infinite. Command line option:--recursion-levelthreads=NUMBERβ generate no more than the given number of threads. default number of threads is10. to disable threading specify a non-positive number. Command line option:--threadstimeout=NUMBERβ set the timeout for connection attempts in seconds β³. the default timeout is60seconds. Command line option:--timeoutaborttimeout=NUMBERβ time to wait for checks to finish after the user aborts the first time (with Ctrl-C or the abort button). the default abort timeout is300seconds. Command line option: noneuseragent=STRINGβ specify the User-Agent string to send to the HTTP server, for example"Mozilla/4.0". the default is"LinkChecker/X.Y"whereX.Yis the current version of LinkChecker. Command line option:--user-agentsslverify=[0|1|filename]β if set to zero disables SSL certificate checking. if set to one (the default) enables SSL certificate checking with the provided CA certificate file. if a filename is specified, it will be used as the certificate file π. Command line option: nonemaxrunseconds=NUMBERβ stop checking new URLs after the given number of seconds. same as if the user stops (by hitting Ctrl-C) after the given number of seconds. the default is not to stop until all URLs are checked. Command line option: nonemaxfilesizedownload=NUMBERβ files larger thanNUMBERbytes will be ignored, without downloading anything if accessed over http and an accurate Content-Length header was returned. no more than this amount of a file will be downloaded. the default is5242880(5 MB). Command line option: nonemaxfilesizeparse=NUMBERβ files larger thanNUMBERbytes will not be parsed for links. the default is1048576(1 MB). Command line option: nonemaxnumurls=NUMBERβ maximum number of URLs to check. new URLs will not be queued after the given number of URLs is checked. the default is to queue and check all URLs. Command line option: nonemaxrequestspersecond=NUMBERβ limit the maximum number of HTTP requests per second to one host. the average number of requests per second is approximately one third of the maximum. values less than1and at least0.001can be used. to use values greater than10, the HTTP server must return a LinkChecker response header. the default is10. Command line option: nonerobotstxt=[0|1]β when using http, fetchrobots.txt, and confirm whether each URL should be accessed before checking π€. the default is to userobots.txtfiles. Command line option:--no-robotsallowedschemes=NAME[,NAME...]β allowed URL schemes as comma-separated list. Command line option: noneresultcachesize=NUMBERβ set the result cache size. the default is100 000URLs. Command line option: none
π filtering
ignore=REGEX (MULTILINE)β only check syntax of URLs matching the given regular expressions. Command line option:--ignore-urlignorewarnings=NAME[,NAME...]β ignore the comma-separated list of warnings. see WARNINGS for the list of supported warnings. messages are logged as information. Command line option: noneignorewarningsforurls=URL_REGEX [NAME_REGEX] (MULTILINE)β specify regular expressions to ignore warnings for matching URLs, one per line. on each line, you can specify a second regular expression, ensuring that only the warnings with names matching the second expression will be ignored for that URL. if the second expression is omitted, all warnings are ignored for that URL.
default is to not ignore any warnings. see WARNINGS for the list of supported warnings. messages are logged as information. Command line option: none
example, bestie:
[filtering]
ignorewarningsforurls=
^https://redirected\.example\.com ^http-redirected
internlinks=REGEXβ regular expression to add more URLs recognized as internal links. default is that URLs given on the command line are internal. Command line option: nonenofollow=REGEX (MULTILINE)β check but do not recurse into URLs matching the given regular expressions. Command line option:--no-follow-urlcheckextern=[0|1]β check external links. default is to check internal links only. Command line option:--check-extern
π authentication
entry=REGEX USER [PASS] (MULTILINE)β provide individual username/password pairs for different links. in addition to a single login page specified withloginurl, multiple FTP and HTTP (Basic Authentication) links are supported. entries are a triple (URL regex, username, password) or a tuple (URL regex, username), where the entries are separated by whitespace. the password is optional and if missing it has to be entered at the commandline. if the regular expression matches the checked URL, the given username/password pair is used for authentication. the command line options-uand-pmatch every link and therefore override the entries given here. the first match wins. Command line option:-u,-ploginurl=URLβ the URL of a login page to be visited before link checking. the page is expected to contain an HTML form to collect credentials and submit them to the address in itsactionattribute using an HTTP POST request. thenameattributes of the input elements of the form and the values to be submitted need to be available (seeentryfor an explanation of username and password values).loginuserfield=STRINGβ thenameattribute of the username input element. default:login.loginpasswordfield=STRINGβ thenameattribute of the password input element. default:password.loginextrafields=NAME:VALUE (MULTILINE)β optionally thenameattributes of any additional input elements and the values to populate them with. note that these are submitted without checking whether matching input elements exist in the HTML form π.
π output
π URL checking results
fileoutput=TYPE[,TYPE...]β output to a filelinkchecker-out.TYPE, or$XDG_DATA_HOME/linkchecker/failuresfor thefailuresoutput type. valid file output types aretext,html,sql,csv,gml,dot,xml,noneorfailures. default is no file output. the various output types are documented below. note that you can suppress all console output withoutput=none. Command line option:--file-outputlog=TYPE[/ENCODING]β specify the console output type astext,html,sql,csv,gml,dot,xml,noneorfailures. default type istext. the various output types are documented below. theENCODINGspecifies the output encoding, the default is that of your locale. valid encodings are listed athttps://docs.python.org/library/codecs.html#standard-encodings. Command line option:--outputverbose=[0|1]β if set log all checked URLs once, overriding warnings. default is to log only errors and warnings. Command line option:--verbosewarnings=[0|1]β if set log warnings. default is to log warnings. Command line option:--no-warningsignoreerrors=URL_REGEX [MESSAGE_REGEX] (MULTILINE)β specify regular expressions to ignore errors for matching URLs, one per line. a second regular expression can be specified per line to only ignore matching error messages per corresponding URL. if the second expression is omitted, all errors are ignored. in contrast tofiltering, this happens after checking, which allows checking URLs despite certain expected and tolerable errors. default is to not ignore any errors. example:
[output]
ignoreerrors=
^https://deprecated\.example\.com ^410 Gone
# ignore all errors (no second expression), also for syntax check:
^mailto:.*@example\.com$
β±οΈ Progress updates
status=[0|1]β control printing URL checker status messages. default is1. Command line option:--no-status
π§ Application
debug=STRING[,STRING...]β print debugging output for the given logger. available debug loggers arecmdline,checking,cache,pluginandall.allis an alias for all available loggers. Command line option:--debug
π€« Quiet
quiet=[0|1]β if set, operate quiet. an alias forlog=nonethat also hides application information messages. this is only useful withfileoutput, else no results will be output. Command line option:--quiet
text πΈ
filename=STRINGβ where your text log goes. Default filename islinkchecker-out.txt. Command line option:--file-outputparts=STRINGβ comma-separated list of the parts you actually wanna log. Check LOGGER PARTS below, bestie. Command line option: noneencoding=STRINGβ all the valid encodings are listed over at https://docs.python.org/library/codecs.html#standard-encodings. Default encoding is the system default locale encoding.wraplength=NUMBERβ how many characters before each message line wraps. Default is65. Command line option: nonecolor*β color settings for the various log parts, syntax iscolorortype;color. Thetypecan bebold,light,blink,invert. Thecolorcan bedefault,black,red,green,yellow,blue,purple,cyan,white,Black,Red,Green,Yellow,Blue,Purple,CyanorWhite. Command line option: nonecolorparent=STRINGβ set parent color. Default iswhite.colorurl=STRINGβ set URL color. Default isdefault.colorname=STRINGβ set name color. Default isdefault.colorreal=STRINGβ set real URL color. Default iscyan.colorbase=STRINGβ set base URL color. Default ispurple.colorvalid=STRINGβ set valid color. Default isbold;green.colorinvalid=STRINGβ set invalid color. Default isbold;red.colorinfo=STRINGβ set info color. Default isdefault.colorwarning=STRINGβ set warning color. Default isbold;yellow.colordltime=STRINGβ set download time color. Default isdefault.colorreset=STRINGβ set reset color. Default isdefault.
gml π
filename=STRINGβ see the[text]section above, bb.parts=STRINGβ see the[text]section above.encoding=STRINGβ see the[text]section above.
dot π¦
filename=STRINGβ see the[text]section above.parts=STRINGβ see the[text]section above.encoding=STRINGβ see the[text]section above.
csv β¨
filename=STRINGβ see the[text]section above.parts=STRINGβ see the[text]section above.encoding=STRINGβ see the[text]section above.separator=CHARβ set CSV separator. Default is a semicolon (;).quotechar=CHARβ set CSV quote character. Default is a double quote (").dialect=STRINGβ controls the output formatting. Peep https://docs.python.org/3/library/csv.html#csv.Dialect. Default isexcel.
sql π
filename=STRINGβ see the[text]section above.parts=STRINGβ see the[text]section above.encoding=STRINGβ see the[text]section above.dbname=STRINGβ set database name to store into. Default islinksdb.separator=CHARβ set SQL command separator character. Default is a semicolon (;).
html π
filename=STRINGβ see the[text]section above.parts=STRINGβ see the[text]section above.encoding=STRINGβ see the[text]section above.colorbackground=COLORβ set HTML background color. Default is#fff7e5.colorurl=β set HTML URL color. Default is#dcd5cf.colorborder=β set HTML border color. Default is#000000.colorlink=β set HTML link color. Default is#191c83.colorwarning=β set HTML warning color. Default is#e0954e.colorerror=β set HTML error color. Default is#db4930.colorok=β set HTML valid color. Default is#3ba557.
failures π
filename=STRINGβ see the[text]section above.encoding=STRINGβ see the[text]section above.
xml π
filename=STRINGβ see the[text]section above.parts=STRINGβ see the[text]section above.encoding=STRINGβ see the[text]section above.
gxml β
filename=STRINGβ see the[text]section above.parts=STRINGβ see the[text]section above.encoding=STRINGβ see the[text]section above.
sitemap π§
filename=STRINGβ see the[text]section above.parts=STRINGβ see the[text]section above.encoding=STRINGβ see the[text]section above.priority=FLOATβ a number between0.0and1.0determining the priority. The default priority for the first URL is1.0, for all child URLs0.5.frequency=[always|hourly|daily|weekly|monthly|yearly|never]β how frequently pages are changing. Default isdaily.
π LOGGER PARTS π
allβ for all partsidβ a unique ID for each logentryrealurlβ the full url linkresultβ valid or invalid, with messagesexternβ1or0, only in some logger types reportedbaseβ basehref=...nameβ<a href=...>name</a>and<img alt="name">parenturlβ if anyinfoβ some additional info, e.g. FTP welcome messageswarningβ warningsdltimeβ download timechecktimeβ check timeurlβ the original url name, can be relativeintroβ the blurb at the beginning, "starting at ..."outroβ the blurb at the end, "found x errors ..."
π MULTILINE π
Some option values can span multiple lines. Each line has to be indented for that to work. Lines starting with a hash (#) will be ignored, though they must still be indented. Not me being picky, that's just the rules π
ignore=
lconline
bookmark
# a comment
^mailto:
π EXAMPLE π
[output]
log=html
[checking]
threads=5
[filtering]
ignorewarnings=http-moved-permanent
π§© PLUGINS π§©
All plugins have a separate section. If the section appears in the configuration file the plugin is enabled. Some plugins read extra options in their section. Obsessed, honestly.
AnchorCheck β
Checks validity of HTML anchors. When checking local files, URLs with anchors that link to directories e.g. "example/#anchor" are not supported. There is no such limitation when using http(s).
LocationInfo π
Adds the country and if possible city name of the URL host as info. Needs GeoIP or pygeoip and a local country or city lookup DB installed.
RegexCheck π
Define a regular expression which prints a warning if it matches any content of the checked link. This applies only to valid pages, so we can get their content.
warningregex=REGEXβ use this to check for pages that contain some form of error message, for example"This page has moved"or"Oracle Application error".REGEXshould be unquoted.
Note that multiple values can be combined in the regular expression, for example "(This page has moved|Oracle Application error)".
SslCertificateCheck π
Check SSL certificate expiration date. Only internal https: links will be checked. A domain will only be checked once to avoid duplicate warnings.
sslcertwarndays=NUMBERβ configures the expiration warning time in days.
HtmlSyntaxCheck π
Check the syntax of HTML pages by submitting their URLs to the online W3C HTML validator. If a page URL is not accessible to the validator no check is performed and no warning given. See https://validator.w3.org/docs/api.html.
NOTE: The HtmlSyntaxCheck plugin is currently broken and is disabled. π
HttpHeaderInfo π¬
Print HTTP headers in URL info.
prefixes=prefix1[,prefix2]...β list of comma separated header prefixes. For example to display all HTTP headers that start with"X-".
CssSyntaxCheck π¨
Check the syntax of CSS stylesheets by submitting their URLs to the online W3C CSS validator. If a stylesheet URL is not accessible to the validator no check is performed and no warning given. See https://jigsaw.w3.org/css-validator/manual.html#expert.
VirusCheck π¦
Checks the page content for virus infections with clamav. A local clamav daemon must be installed.
clamavconf=filenameβ filename ofclamd.confconfig file.
NOTE: TheVirusCheckplugin does not supportClamAV >= 1.0and is disabled. π
PdfParser π
Parse PDF files for URLs to check. Needs the pdfminer.six Python package installed.
WordParser π
Parse Word files for URLs to check. Needs the pywin32 Python extension installed.
MarkdownCheck π
Parse Markdown files for URLs to check.
filename_re=REGEXβ regular expression matching the names of Markdown files.
β οΈ WARNINGS β οΈ
The following warnings are recognized by ignorewarnings and ignorewarningsforurls:
file-anchorcheck-directoryβ a local directory with an anchor, not supported byAnchorCheck.file-missing-slashβ thefile:URL is missing a trailing slash.file-system-pathβ thefile:path is not the same as the system specific path.ftp-missing-slashβ theftp:URL is missing a trailing slash.http-cookie-store-errorβ an error occurred while storing a cookie.http-empty-contentβ the URL had no content.http-rate-limitedβ too many HTTP requests.http-redirectedβ redirected to a different URL.mail-no-mx-hostβ the mail MX host could not be found.url-content-size-zeroβ the URL content size is zero.url-content-too-largeβ the URL content size is too large.url-content-type-unparseableβ the URL content type is not parseable.url-effective-urlβ the effective URL is different from the original.url-error-getting-contentβ could not get the content of the URL.url-obfuscated-ipβ the IP is obfuscated.url-whitespaceβ the URL contains leading or trailing whitespace.
π SEE ALSO π
π«Ά AUTHOR π«Ά
Bastian Kleineidam <bastian.kleineidam@web.de>
π COPYRIGHT π
2000-2016 Bastian Kleineidam, 2010-2025 LinkChecker Authors
and that's the whole page bestie, we ate and left no crumbs π this was version 10.5.0.post14+g8c3a6f77, dated July 28, 2025, for LINKCHECKERRC(5) β periodt π
β¨
π¦ where this page comes from
- fedora 44: linkchecker 10.6.0-2.fc44 Β· GPL-2.0-or-later
- nixos 26.05: linkchecker 10.6.0
- nixpkgs unstable: linkchecker 10.6.0
- ubuntu resolute: linkchecker 10.6.0-2 Β· GPL-2.0-only
- ubuntu stonking: linkchecker 10.6.0-2 Β· GPL-2.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms