破损失效链接/URL检查工具:
https://github.com/stevenvachon/broken-link-checker
Installation
Node.js >= 12
is required. There’re two ways to use it:
Command Line Usage
To install, type this at the command line:
npm install broken-link-checker -g
After that, check out the help for available options:
blc --help
A typical site-wide check might look like:
blc http://yoursite.com -ro
使用效果:
(-r为递归参数,可酌情使用)