forked from seethroughdev/status-crawler
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.js
44 lines (27 loc) · 1019 Bytes
/
config.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
var config = (function(window,document,undefined){
'use strict';
// CONFIG Settings =>
var config = {};
// Set starting point for crawl
config.startUrl = 'http://example.com';
// words to require for all urls ** put your top domain here to keep it local **
config.requiredValues = 'example.com';
// add any words that spider should skip (comma or space separated)
config.skippedValues = 'default';
// set exported file location
config.fileLocation = './logs/';
// prepend date to filename
config.dateFileName = true;
// toggle verbose in command line
config.verbose = false;
// logging level can be set to: 'debug', 'info', 'warning', 'error'
config.logLevel = 'error';
// prevent loading of images for speed
config.loadImages = false;
// prevent loading Flash, Silverlight from crawler
config.loadPlugins = false;
// set limit for links logged (Enter 0 for unlimited.)
config.limit = 0;
return config;
})(this, this.document);
module.exports = config;