2025-03-14 21:59:59 -06:00
|
|
|
# lychee
|
|
|
|
|
|
|
|
|
|
> Find broken URLs.
|
2025-09-14 18:48:49 -06:00
|
|
|
> More information: <https://github.com/lycheeverse/lychee/blob/master/README.md#commandline-usage>.
|
2025-03-14 21:59:59 -06:00
|
|
|
|
|
|
|
|
- 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:
|
|
|
|
|
|
2025-05-08 12:26:01 -06:00
|
|
|
`grep {{[-r|--recursive]}} "{{pattern}}" | lychee -`
|
2025-03-14 21:59:59 -06:00
|
|
|
|
|
|
|
|
- Display help:
|
|
|
|
|
|
|
|
|
|
`lychee --help`
|