-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.toml
144 lines (121 loc) · 3.87 KB
/
config.toml
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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
# cofiguration for the server settings and
# source definition.
HTTP = "localhost:8080" # http service address
# root path serves F.E. quesiton.
[[Sources]]
# sub address in the API path. Must be uniqe.
SubAddr = ""
# timeout limit for request.
WaitSecond = 3
# URL template which accepts parameters Year, Season and No.
URL = "http://www.fe-siken.com/kakomon/{{.Year}}_{{.Season}}/q{{.No}}.html"
# Maximum year limit.
MaxYear = 29
# Minimum year limit.
MinYear = 13
# Maximum quesiton number.
MaxNo = 80
# Mimimum quesiton number.
MinNo = 1
# Season in which the examination is hold. [ "haru" | "aki" | "all" ]
Season = "all"
# IT passport question definition.
[[Sources]]
SubAddr = "/ip"
WaitSecond = 3
URL = "http://www.itpassportsiken.com/kakomon/{{.Year}}_{{.Season}}/q{{.No}}.html"
MaxYear = 29
MinYear = 21
MaxNo = 100
MinNo = 1
Season = "all"
# F.E. question definition.
[[Sources]]
SubAddr = "/fe"
WaitSecond = 3
URL = "http://www.fe-siken.com/kakomon/{{.Year}}_{{.Season}}/q{{.No}}.html"
MaxYear = 29
MinYear = 13
MaxNo = 80
MinNo = 1
Season = "all"
# A.P. question definition.
[[Sources]]
SubAddr = "/ap"
WaitSecond = 3
URL = "http://www.ap-siken.com/kakomon/{{.Year}}_{{.Season}}/q{{.No}}.html"
MaxYear = 29
MinYear = 13
MaxNo = 80
MinNo = 1
Season = "all"
# N.W.1. question definition.
[[Sources]]
SubAddr = "/nw1"
WaitSecond = 3
URL = "http://www.nw-siken.com/kakomon/{{.Year}}_{{.Season}}/am1_{{.No}}.html"
MaxYear = 29
MinYear = 21
MaxNo = 30
MinNo = 1
Season = "aki"
# N.W.2. question definition.
[[Sources]]
SubAddr = "/nw2"
WaitSecond = 3
URL = "http://www.nw-siken.com/kakomon/{{.Year}}_{{.Season}}/am2_{{.No}}.html"
MaxYear = 29
MinYear = 21
MaxNo = 25
MinNo = 1
Season = "aki"
# D.B.1. question definition.
[[Sources]]
SubAddr = "/db1"
WaitSecond = 3
URL = "http://www.db-siken.com/kakomon/{{.Year}}_{{.Season}}/am1_{{.No}}.html"
MaxYear = 29
MinYear = 21
MaxNo = 30
MinNo = 1
Season = "haru"
# D.B.2. question definition.
[[Sources]]
SubAddr = "/db2"
WaitSecond = 3
URL = "http://www.db-siken.com/kakomon/{{.Year}}_{{.Season}}/am2_{{.No}}.html"
MaxYear = 29
MinYear = 21
MaxNo = 25
MinNo = 1
Season = "haru"
# P.M.1. question definition.
[[Sources]]
SubAddr = "/pm1"
WaitSecond = 3
URL = "http://www.pm-siken.com/kakomon/{{.Year}}_{{.Season}}/am1_{{.No}}.html"
MaxYear = 29
MinYear = 21
MaxNo = 30
MinNo = 1
Season = "haru"
# P.M.2. question definition.
[[Sources]]
SubAddr = "/pm2"
WaitSecond = 3
URL = "http://www.pm-siken.com/kakomon/{{.Year}}_{{.Season}}/am2_{{.No}}.html"
MaxYear = 29
MinYear = 21
MaxNo = 25
MinNo = 1
Season = "haru"
# S.M. question definition.
[[Sources]]
SubAddr = "/sm"
WaitSecond = 3
URL = "http://www.sg-siken.com/kakomon/{{.Year}}_{{.Season}}/q{{.No}}.html"
MaxYear = 29
MinYear = 28
MaxNo = 50
MinNo = 1
Season = "haru"