forked from ReconInfoSec/web-traffic-generator
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.py.template
49 lines (44 loc) · 1.19 KB
/
config.py.template
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
45
46
47
48
49
clickDepth = 5 # how deep to browse from the rootURL
minWait = 5 # minimum amount of time allowed between HTTP requests
maxWait = 10 # maximum amount of time to wait between HTTP requests
debug = False # set to True to enable useful console output
# use this single item list to test how a site responds to this crawler
# be sure to comment out the list below it.
#rootURLs = ["https://digg.com/"]
rootURLs = [
"https://digg.com/",
"https://www.yahoo.com",
"https://www.reddit.com",
"http://www.cnn.com",
"http://www.ebay.com",
"https://en.wikipedia.org/wiki/Main_Page",
"https://austin.craigslist.org/"
]
# items can be a URL "https://t.co" or simple string to check for "amazon"
blacklist = [
"https://t.co",
"t.umblr.com",
"messenger.com",
"itunes.apple.com",
"l.facebook.com",
"bit.ly",
"mediawiki",
".css",
".ico",
".xml",
"intent/tweet",
"twitter.com/share",
"signup",
"login",
"dialog/feed?",
".png",
".jpg",
".json",
".svg",
".gif",
"zendesk",
"clickserve"
]
# must use a valid user agent or sites will hate you
userAgent = 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_3) ' \
'AppleWebKit/537.36 (KHTML, like Gecko) Chrome/56.0.2924.87 Safari/537.36'