forked from bwbwbwbw/ingress-exporter
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.cson.default
51 lines (33 loc) · 2.54 KB
/
config.cson.default
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
50
51
Auth:
# You could fill this field via copying from:
# Chrome Dev Tools -> Network -> (select a non-static request entity) ->
# Request Headers -> Cookie
# Please fetch the cookie from SSL ingress/intel site (https://www.ingress.com/intel).
CookieRaw: 'GOOGAPPUID=xxx; SACSID=xxx; csrftoken=xxx'
ZoomLevel: 17
# LatLngs of your desired requesting polygon region.
# See README(# How to generate polygon data via IITC drawtool) to learn how to generate it easily.
# Format: [[lat1, lng1], [lat2, lng2], ...]
Region: [[31.751525328078905,121.10504150390625],[31.84139930209406,121.18606567382812],[31.88105608497267,121.30142211914061],[31.666239488179933,121.7340087890625],[31.577365480690492,121.981201171875],[31.339562861784987,122.0416259765625],[31.25507418542194,121.79855346679686],[30.97643166961479,121.99493408203125],[30.883369321692268,121.9921875],[30.851542445605972,121.915283203125],[30.66035956584673,122.025146484375],[30.64618278002518,122.19268798828126],[30.56462594065098,122.23526000976561],[30.53151083364524,122.04437255859375],[30.66035956584673,122.00592041015626],[30.850363469502337,121.8988037109375],[30.83385628265907,121.65573120117188],[30.768979140567136,121.45523071289061],[30.659178246433786,121.26434326171875],[30.753638146218577,121.22589111328126],[30.77723866322742,121.1077880859375],[30.881012137733634,121.08581542968751],[30.85743710875022,120.97595214843749],[31.02234042904364,120.94024658203124],[31.113025,120.845669],[31.147006308556566,121.03363037109374],[31.252726196836825,121.0418701171875],[31.323140440957427,121.13250732421876],[31.37005403926066,121.09405517578125],[31.440380540593694,121.14624023437499],[31.501287521196705,121.22039794921874],[31.54343066661174,121.343994140625],[31.57853542647338,121.3385009765625]]
Request:
UserAgent: 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/32.0.1700.107 Safari/537.36'
MaxParallel: 5
MinIntervalMS: 100 # Too fast requesting would get IP banned
Tile:
MaxFailRetry: 3 # server responses a failure
MaxErrorRetry: 3 # network errors, etc
TileBucket:
Max: 4 # tiles may get TIMEOUT if larger than 4
Min: 4
Chat:
SplitTimespanMS:
Broadcast: 10*60*1000 # 10 min
Faction: 3*60*60*1000 # 3 hours
TraceTimespanMS: 10*24*60*60*1000 # new task: trace 10 days
PlayerLookup:
Max: 15
Database:
ConnectString: 'mongodb://localhost:27017/ingress'
MaxParallel: 10
Options:
safe: true