skip links in HTML comments #896
This commit is contained in:
parent
8233a18f05
commit
616dbab278
|
|
@ -40,6 +40,7 @@ module.exports = {
|
|||
crawler.maxDepth = this.options.depth;
|
||||
crawler.downloadUnsupported = false;
|
||||
crawler.allowInitialDomainChange = true;
|
||||
crawler.parseHTMLComments= false;
|
||||
crawler.addFetchCondition(function(parsedURL) {
|
||||
const extension = path.extname(parsedURL.path);
|
||||
// Don't try to download these, based on file name.
|
||||
|
|
|
|||
Loading…
Reference in New Issue