From 335de6f8fca84eac4523eb5e191f81d8086d73a7 Mon Sep 17 00:00:00 2001 From: Managor <42655600+Managor@users.noreply.github.com> Date: Thu, 19 Sep 2024 13:38:01 +0300 Subject: [PATCH] lychee: add page (#13733) Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com> Co-authored-by: Lena <126529524+acuteenvy@users.noreply.github.com> --- pages/common/lychee.md | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 pages/common/lychee.md diff --git a/pages/common/lychee.md b/pages/common/lychee.md new file mode 100644 index 0000000000..494935477e --- /dev/null +++ b/pages/common/lychee.md @@ -0,0 +1,24 @@ +# lychee + +> Find broken URLs. +> More information: . + +- Scan a website for broken links: + +`lychee {{https://example.com}}` + +- Display a breakdown of error types: + +`lychee --format detailed {{https://example.com}}` + +- Limit the amount of connections to prevent DDOS protection: + +`lychee --max-concurrency {{5}} {{links.txt}}` + +- Check files in a directory structure for any broken URLs: + +`grep -r "{{pattern}}" | lychee -` + +- Display help: + +`lychee --help`