-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig-eaxmple.json
More file actions
61 lines (61 loc) · 1.22 KB
/
Copy pathconfig-eaxmple.json
File metadata and controls
61 lines (61 loc) · 1.22 KB
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
52
53
54
55
56
57
58
59
60
61
{
"server": {
"host": "127.0.0.1",
"port": 3000
},
"database": {
"uri": "postgres://user:password@127.0.0.1:5432/b38dev-dev"
},
"tracing": {
"filter": "debug"
},
"fetcher": {
"proxy": {
"host": "127.0.0.1",
"port": 7890
},
"clients": {
"onair": {
"use_proxy": true,
"timeout_secs": 15
},
"bangumi": {
"max_conn": 3,
"use_proxy": true,
"timeout_secs": 15,
"headers": {
"User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/140.0.0.0 Safari/537.36",
"Cookie": "**"
}
}
}
},
"collector": {
"onair": {
"mirror": "https://github.com/bangumi-data/bangumi-data/raw/refs/heads/master/dist/data.json"
},
"user": {
"origins": [
"https://chii.in",
"https://bgm.tv",
"https://bangumi.tv"
],
"active_month": 6,
"fresh_duration": {
"active": 1,
"abandoned": 30,
"dropped": 36500,
"banned": 36500
}
}
},
"scheduler": {
"onair": {
"cron": "0 0 * * * *",
"retry": 3
},
"user": {
"cron": "0 0 0 * * *"
}
}
}