Excluding Links
lychee allows you to selectively check links using --include
and --exclude
parameters. Both accept regular expressions.
Here are some examples:
Includes take precedence over excludes. You can use that fact to check only links that contain a specific string.
For example, if you want to check all links that contain the string twitter.com
,
you can use the following command:
Permanently Excluding Links
Do you have a bunch of URLs that you always want to exclude?
You can add them to a .lycheeignore
file in the root of your project.