-
Notifications
You must be signed in to change notification settings - Fork 37
/
config.sample.json
33 lines (33 loc) · 948 Bytes
/
config.sample.json
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
{
"main": {
"debug": true,
"game": "dota2",
"game_appid": "570",
"accept_buff_threshold": 0.65,
"accept_steam_threshold": 0.8,
"min_volume": 0,
"min_price": 500,
"max_price": 30000,
"webgui_refresh_time": 1
},
"buff": {
"sort_by": "sell_num.desc",
"request_interval": 4,
"requests_kwargs": {
"headers": {
"cookie": "session=1-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx-xxxxxxxxxxxxxxxxxxxxx",
"User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/112.0.0.0 Safari/537.36",
"Referer": "https://buff.163.com/market/dota2",
"X-Requested-With": "XMLHttpRequest"
}
}
},
"steam": {
"request_interval": 4,
"requests_kwargs": {
"headers": {
"User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/112.0.0.0 Safari/537.36"
}
}
}
}