Closed echo-gravitas closed 4 years ago
change
acceptedSchemes: ['http', 'https'],
to
acceptedSchemes: ['http:', 'https:'],
Perhaps this should be handled in the options parser to simplify the API.
One should read the manual carefully… 🤦🏼♂️ Thanks for the hint, now it works as expectet.
Describe the bug This morning I played around with release version 0.7.8 (yarnpkg). Works fine so far. This afternoon I was curious how alpha version 0.8.0 (github) works. Unfortunately I can't get it to scan through a website recursively. It only logs the URL I defined as staring point in console / node stdout.
This is my index.js:
To Reproduce
broken-link-checker
from github viayarn add
yarn build
innode_modules/broken-link-checker
index.js
in project root and copy and paste my example mentioned abovenode index.js
in command lineExpected behavior A list of URLs based on the given URL as starting point like this: https://www.example.com https://www.example.com/2017/12/08/kalte-winterdaemmerung-am-rheinfall/ https://www.example.com/author/johndoe/ https://www.example.com/2017/11/12/konzert-kammgarn/ https://www.example.com/2017/10/18/portrait-shooting/ https://www.example.com/2017/10/15/wochenendtrip/ https://www.example.com/2017/10/01/zu-besuch/ https://www.example.com/2017/06/29/gewitterfront/ https://www.example.com/2017/06/15/la-belle-paris/ https://www.example.com/2017/03/13/alvaro-soler/ ...
Environment: