Repository navigation
Expand file tree
/
Copy pathconfig.json
More file actions
94 lines (94 loc) · 1.99 KB
/
Copy pathconfig.json
File metadata and controls
94 lines (94 loc) · 1.99 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
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
{
"sites": [
{
"key": "JavaDemo",
"name": "Java 完整範例",
"type": 3,
"api": "csp_Demo",
"lang": "zh-TW",
"searchable": 1,
"quickSearch": 1,
"filterable": 1,
"changeable": 0,
"style": {
"type": "rect",
"ratio": 0.75
},
"ext": {
"image_base": "",
"web_url": "https://example.com/",
"cookie_name": "session_id"
}
},
{
"key": "PythonDemo",
"name": "Python 完整範例",
"type": 3,
"api": "./python/spider.py",
"lang": "zh-TW",
"searchable": 1,
"quickSearch": 1,
"filterable": 1,
"changeable": 0,
"style": {
"type": "rect",
"ratio": 0.75
},
"ext": {
"image_base": "",
"web_url": "https://example.com/",
"cookie_name": "session_id"
}
},
{
"key": "QuickJSDemo",
"name": "QuickJS 完整範例",
"type": 3,
"api": "./javascript/spider.js",
"lang": "zh-TW",
"searchable": 1,
"quickSearch": 1,
"filterable": 1,
"changeable": 0,
"style": {
"type": "rect",
"ratio": 0.75
},
"ext": {
"image_base": "",
"web_url": "https://example.com/",
"cookie_name": "session_id"
}
}
],
"spider": "../jar/custom_spider.jar",
"lives": [
{
"name": "Java 完整範例",
"api": "csp_Demo",
"ext": {
"image_base": "",
"web_url": "https://example.com/",
"cookie_name": "session_id"
}
},
{
"name": "Python 完整範例",
"api": "./python/spider.py",
"ext": {
"image_base": "",
"web_url": "https://example.com/",
"cookie_name": "session_id"
}
},
{
"name": "QuickJS 完整範例",
"api": "./javascript/spider.js",
"ext": {
"image_base": "",
"web_url": "https://example.com/",
"cookie_name": "session_id"
}
}
]
}