stevenvachon / broken-link-checker

Find broken links, missing images, etc within your HTML.
MIT License
1.97k stars 305 forks source link

added summary of broken links at the end of cli #148

Open bjoernbg opened 5 years ago

bjoernbg commented 5 years ago

Hi, I've added a small summary of the broken links at the end of the command line output.

dennisreimann commented 4 years ago

Came here looking for something like this or #137. Is there any change to see these changes published? They seem like valuable additions to this tool!

chadoh commented 4 years ago

Looking forward to this getting in! blc is close to unusable when used to scan a large website for broken links.

dennisreimann commented 4 years ago

@chadoh As a workaround we've fixed it in our CI pipeline by running it with this command:

set -o pipefail; npm run linkcheck 2>/dev/null | grep "Getting links from\|BROKEN"

The linkcheck script runs blc with our configuration and the grep filters the relevant information.

Hope this is of help for you :)