CQ备忘录

一间存放故事的仓库

GitHub LinkedIn
7 September 2020

Tech:linkinator

by ChenQi

🐿 linkinator

A super simple site crawler and broken link checker.
一键查死链的 API 库和 CLI 工具。

安装

npm install linkinator

参数

运行

$ npx linkinator https://www.ctrip.com --silent

https://www.ctrip.com/

  [500] http://ct.ctrip.com/crptravel/default/landing
  [503] http://www.beian.miit.gov.cn/
  [404] http://trains.ctrip.com/daishoudian/
  [404] http://trains.ctrip.com/yupiao/
  [404] http://trains.ctrip.com/huochezhan/
  [404] http://trains.ctrip.com/piaojia/
  [404] http://scjgj.sh.gov.cn/lz/licenseLink.do?method=licenceView&entyId=20110428175405415
  [404] http://trains.ctrip.com/TrainSchedule/
  [404] http://trains.ctrip.com/yushouqi/
  [500] https://liulanqi.baidu.com/
  [404] http://trains.ctrip.com/sitemap.html
  [0] https://fw.scjgj.sh.gov.cn/platform/survey/step1_phone
  [503] http://www.beian.gov.cn/portal/registerSystemInfo?recordcode=31010502002731
  [503] https://tuan.ctrip.com/group/city_xiamen/

ERROR: Detected 14 broken links. Scanned 378 links in 136.417 seconds.
tags: