@mr-quin/dango-manifests 0.9.0 → 0.9.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/catalog.json +3 -3
- package/package.json +1 -1
- package/src/manifests/bilibili.json +14 -4
- package/src/manifests/dandanplay.json +17 -7
package/catalog.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"packageVersion": "0.9.
|
|
2
|
+
"packageVersion": "0.9.1",
|
|
3
3
|
"manifests": [
|
|
4
4
|
{
|
|
5
5
|
"id": "aiyifan",
|
|
@@ -18,14 +18,14 @@
|
|
|
18
18
|
{
|
|
19
19
|
"id": "bilibili",
|
|
20
20
|
"name": "Bilibili",
|
|
21
|
-
"version": "0.
|
|
21
|
+
"version": "0.7.0",
|
|
22
22
|
"apiVersion": 1,
|
|
23
23
|
"file": "src/manifests/bilibili.json"
|
|
24
24
|
},
|
|
25
25
|
{
|
|
26
26
|
"id": "dandanplay",
|
|
27
27
|
"name": "DanDanPlay",
|
|
28
|
-
"version": "0.
|
|
28
|
+
"version": "0.6.0",
|
|
29
29
|
"apiVersion": 1,
|
|
30
30
|
"file": "src/manifests/dandanplay.json"
|
|
31
31
|
},
|
package/package.json
CHANGED
|
@@ -6,13 +6,14 @@
|
|
|
6
6
|
"zh-CN": {
|
|
7
7
|
"name": "B站",
|
|
8
8
|
"configSchema.properties.danmakuFormat.title": "弹幕格式",
|
|
9
|
-
"configSchema.properties.danmakuFormat.
|
|
9
|
+
"configSchema.properties.danmakuFormat.oneOf.0.title": "Protobuf:获取全部弹幕,视频越长越慢",
|
|
10
|
+
"configSchema.properties.danmakuFormat.oneOf.1.title": "XML:获取较快,最多约 3000 条弹幕",
|
|
10
11
|
"cookieSet.title": "登录B站",
|
|
11
12
|
"configSchema.properties.includeUserUploads.title": "包含用户投稿",
|
|
12
13
|
"configSchema.properties.includeUserUploads.description": "搜索时一并返回用户投稿(UGC)视频,而不仅是官方番剧库。默认关闭:UGC 结果较杂,且多为切片。"
|
|
13
14
|
}
|
|
14
15
|
},
|
|
15
|
-
"version": "0.
|
|
16
|
+
"version": "0.7.0",
|
|
16
17
|
"hosts": ["api.bilibili.com"],
|
|
17
18
|
"urlMatch": [
|
|
18
19
|
{
|
|
@@ -38,9 +39,18 @@
|
|
|
38
39
|
"danmakuFormat": {
|
|
39
40
|
"type": "string",
|
|
40
41
|
"enum": ["xml", "protobuf"],
|
|
42
|
+
"oneOf": [
|
|
43
|
+
{
|
|
44
|
+
"const": "protobuf",
|
|
45
|
+
"title": "Protobuf: every comment, slower for long videos"
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
"const": "xml",
|
|
49
|
+
"title": "XML: faster, capped at about 3000 comments"
|
|
50
|
+
}
|
|
51
|
+
],
|
|
41
52
|
"default": "protobuf",
|
|
42
|
-
"title": "Danmaku format"
|
|
43
|
-
"description": "xml is the legacy endpoint capped at ~3000 comments; protobuf paginates and returns everything"
|
|
53
|
+
"title": "Danmaku format"
|
|
44
54
|
},
|
|
45
55
|
"includeUserUploads": {
|
|
46
56
|
"type": "boolean",
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
"zh-CN": {
|
|
7
7
|
"name": "弹弹play",
|
|
8
8
|
"configSchema.properties.baseUrl.title": "基础地址",
|
|
9
|
-
"configSchema.properties.baseUrl.description": "弹弹play
|
|
9
|
+
"configSchema.properties.baseUrl.description": "弹弹play 兼容 API 的根地址,例如代理或自建服务器。留空则使用官方 https://api.dandanplay.net,此时需要填写应用 ID 和应用密钥。",
|
|
10
10
|
"configSchema.properties.appId.title": "应用 ID",
|
|
11
11
|
"configSchema.properties.appId.description": "弹弹play 开放平台的 App ID。使用官方 API 时需填写;由代理在服务端签名时可留空。",
|
|
12
12
|
"configSchema.properties.appSecret.title": "应用密钥",
|
|
@@ -17,19 +17,25 @@
|
|
|
17
17
|
"configSchema.properties.auth.properties.headers.title": "请求头",
|
|
18
18
|
"configSchema.properties.auth.properties.headers.items.properties.key.title": "请求头名称",
|
|
19
19
|
"configSchema.properties.auth.properties.headers.items.properties.value.title": "值",
|
|
20
|
-
"configSchema.properties.chConvert.title": "
|
|
21
|
-
"configSchema.properties.chConvert.
|
|
20
|
+
"configSchema.properties.chConvert.title": "简繁转换",
|
|
21
|
+
"configSchema.properties.chConvert.oneOf.0.title": "不转换",
|
|
22
|
+
"configSchema.properties.chConvert.oneOf.1.title": "转换成简体",
|
|
23
|
+
"configSchema.properties.chConvert.oneOf.2.title": "转换成繁体"
|
|
22
24
|
}
|
|
23
25
|
},
|
|
24
|
-
"version": "0.
|
|
26
|
+
"version": "0.6.0",
|
|
25
27
|
"hosts": ["*"],
|
|
26
28
|
"configSchema": {
|
|
27
29
|
"type": "object",
|
|
30
|
+
"anyOf": [
|
|
31
|
+
{ "required": ["baseUrl"] },
|
|
32
|
+
{ "required": ["appId", "appSecret"] }
|
|
33
|
+
],
|
|
28
34
|
"properties": {
|
|
29
35
|
"baseUrl": {
|
|
30
36
|
"type": "string",
|
|
31
37
|
"title": "Base URL",
|
|
32
|
-
"description": "Root of
|
|
38
|
+
"description": "Root of a DanDanPlay-compatible API, such as a proxy or a self-hosted server. Leave empty to call the official https://api.dandanplay.net, which needs an App ID and App Secret."
|
|
33
39
|
},
|
|
34
40
|
"appId": {
|
|
35
41
|
"type": "string",
|
|
@@ -68,9 +74,13 @@
|
|
|
68
74
|
"chConvert": {
|
|
69
75
|
"type": "integer",
|
|
70
76
|
"enum": [0, 1, 2],
|
|
77
|
+
"oneOf": [
|
|
78
|
+
{ "const": 0, "title": "No conversion" },
|
|
79
|
+
{ "const": 1, "title": "Convert to simplified" },
|
|
80
|
+
{ "const": 2, "title": "Convert to traditional" }
|
|
81
|
+
],
|
|
71
82
|
"default": 0,
|
|
72
|
-
"title": "Chinese conversion"
|
|
73
|
-
"description": "0 = no conversion, 1 = convert to simplified, 2 = convert to traditional"
|
|
83
|
+
"title": "Chinese conversion"
|
|
74
84
|
}
|
|
75
85
|
}
|
|
76
86
|
},
|