-
Notifications
You must be signed in to change notification settings - Fork 0
/
题库配置.json
32 lines (32 loc) · 1.02 KB
/
题库配置.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
[
{
"name": "言溪题库",
"homepage": "https://tk.enncy.cn/",
"url": "https://tk.enncy.cn/query",
"method": "get",
"type": "GM_xmlhttpRequest",
"contentType": "json",
"data": {
"token": "4717b2910f2b4e54b3ada79c8b69eb5c",
"title": "${title}",
"options": "${options}",
"type": "${type}"
},
"handler": "return (res)=>res.code === 0 ? [res.data.answer, undefined] : [res.data.question,res.data.answer]"
},
{
"name": "网课小工具题库(GO题)",
"homepage": "https://cx.icodef.com/",
"url": "https://cx.icodef.com/wyn-nb?v=4",
"method": "post",
"type": "GM_xmlhttpRequest",
"data": {
"question": "${title}"
},
"headers": {
"Content-Type": "application/x-www-form-urlencoded",
"Authorization": ""
},
"handler": "return (res)=> res.code === 1 ? [undefined,res.data] : [res.msg,undefined]"
}
]