@mr-quin/dango-manifests 0.3.0 → 0.5.0
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/README.md +3 -3
- package/catalog.json +14 -14
- package/package.json +2 -2
- package/src/manifests/aiyifan.json +6 -1
- package/src/manifests/bahamut.json +6 -1
- package/src/manifests/bilibili.json +9 -1
- package/src/manifests/dandanplay.json +22 -3
- package/src/manifests/hanjutv.json +6 -1
- package/src/manifests/iqiyi.json +6 -1
- package/src/manifests/maiduidui.json +6 -1
- package/src/manifests/mango.json +6 -1
- package/src/manifests/migu.json +6 -1
- package/src/manifests/renren.json +6 -1
- package/src/manifests/sohu.json +6 -1
- package/src/manifests/tencent.json +7 -1
- package/src/manifests/youku.json +6 -1
package/README.md
CHANGED
|
@@ -79,12 +79,12 @@ https://cdn.jsdelivr.net/npm/@mr-quin/dango-manifests@<version>/<file>
|
|
|
79
79
|
|
|
80
80
|
```jsonc
|
|
81
81
|
{
|
|
82
|
-
"packageVersion": "0.
|
|
82
|
+
"packageVersion": "0.4.0",
|
|
83
83
|
"manifests": [
|
|
84
84
|
{
|
|
85
85
|
"id": "bilibili",
|
|
86
86
|
"name": "Bilibili",
|
|
87
|
-
"version": "0.
|
|
87
|
+
"version": "0.4.0",
|
|
88
88
|
"apiVersion": 1,
|
|
89
89
|
"file": "src/manifests/bilibili.json",
|
|
90
90
|
},
|
|
@@ -96,7 +96,7 @@ https://cdn.jsdelivr.net/npm/@mr-quin/dango-manifests@<version>/<file>
|
|
|
96
96
|
Each `file` is the in-package path to fetch, e.g.:
|
|
97
97
|
|
|
98
98
|
```
|
|
99
|
-
https://cdn.jsdelivr.net/npm/@mr-quin/dango-manifests@0.
|
|
99
|
+
https://cdn.jsdelivr.net/npm/@mr-quin/dango-manifests@0.4.0/src/manifests/bilibili.json
|
|
100
100
|
```
|
|
101
101
|
|
|
102
102
|
unpkg works the same way (`https://unpkg.com/@mr-quin/dango-manifests@<version>/...`). Pin a `<version>` for reproducibility; omit it to track the latest published release.
|
package/catalog.json
CHANGED
|
@@ -1,94 +1,94 @@
|
|
|
1
1
|
{
|
|
2
|
-
"packageVersion": "0.
|
|
2
|
+
"packageVersion": "0.5.0",
|
|
3
3
|
"manifests": [
|
|
4
4
|
{
|
|
5
5
|
"id": "aiyifan",
|
|
6
6
|
"name": "Aiyifan",
|
|
7
|
-
"version": "0.
|
|
7
|
+
"version": "0.4.0",
|
|
8
8
|
"apiVersion": 1,
|
|
9
9
|
"file": "src/manifests/aiyifan.json"
|
|
10
10
|
},
|
|
11
11
|
{
|
|
12
12
|
"id": "bahamut",
|
|
13
13
|
"name": "Bahamut",
|
|
14
|
-
"version": "0.
|
|
14
|
+
"version": "0.4.0",
|
|
15
15
|
"apiVersion": 1,
|
|
16
16
|
"file": "src/manifests/bahamut.json"
|
|
17
17
|
},
|
|
18
18
|
{
|
|
19
19
|
"id": "bilibili",
|
|
20
20
|
"name": "Bilibili",
|
|
21
|
-
"version": "0.
|
|
21
|
+
"version": "0.4.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.4.0",
|
|
29
29
|
"apiVersion": 1,
|
|
30
30
|
"file": "src/manifests/dandanplay.json"
|
|
31
31
|
},
|
|
32
32
|
{
|
|
33
33
|
"id": "hanjutv",
|
|
34
34
|
"name": "Hanjutv",
|
|
35
|
-
"version": "0.
|
|
35
|
+
"version": "0.4.0",
|
|
36
36
|
"apiVersion": 1,
|
|
37
37
|
"file": "src/manifests/hanjutv.json"
|
|
38
38
|
},
|
|
39
39
|
{
|
|
40
40
|
"id": "iqiyi",
|
|
41
41
|
"name": "iQIYI",
|
|
42
|
-
"version": "0.
|
|
42
|
+
"version": "0.4.0",
|
|
43
43
|
"apiVersion": 1,
|
|
44
44
|
"file": "src/manifests/iqiyi.json"
|
|
45
45
|
},
|
|
46
46
|
{
|
|
47
47
|
"id": "maiduidui",
|
|
48
48
|
"name": "Maiduidui",
|
|
49
|
-
"version": "0.
|
|
49
|
+
"version": "0.4.0",
|
|
50
50
|
"apiVersion": 1,
|
|
51
51
|
"file": "src/manifests/maiduidui.json"
|
|
52
52
|
},
|
|
53
53
|
{
|
|
54
54
|
"id": "mango",
|
|
55
55
|
"name": "Mango TV",
|
|
56
|
-
"version": "0.
|
|
56
|
+
"version": "0.4.0",
|
|
57
57
|
"apiVersion": 1,
|
|
58
58
|
"file": "src/manifests/mango.json"
|
|
59
59
|
},
|
|
60
60
|
{
|
|
61
61
|
"id": "migu",
|
|
62
62
|
"name": "Migu Video",
|
|
63
|
-
"version": "0.
|
|
63
|
+
"version": "0.4.0",
|
|
64
64
|
"apiVersion": 1,
|
|
65
65
|
"file": "src/manifests/migu.json"
|
|
66
66
|
},
|
|
67
67
|
{
|
|
68
68
|
"id": "renren",
|
|
69
69
|
"name": "Renren",
|
|
70
|
-
"version": "0.
|
|
70
|
+
"version": "0.4.0",
|
|
71
71
|
"apiVersion": 1,
|
|
72
72
|
"file": "src/manifests/renren.json"
|
|
73
73
|
},
|
|
74
74
|
{
|
|
75
75
|
"id": "sohu",
|
|
76
76
|
"name": "Sohu",
|
|
77
|
-
"version": "0.
|
|
77
|
+
"version": "0.4.0",
|
|
78
78
|
"apiVersion": 1,
|
|
79
79
|
"file": "src/manifests/sohu.json"
|
|
80
80
|
},
|
|
81
81
|
{
|
|
82
82
|
"id": "tencent",
|
|
83
83
|
"name": "Tencent Video",
|
|
84
|
-
"version": "0.
|
|
84
|
+
"version": "0.4.0",
|
|
85
85
|
"apiVersion": 1,
|
|
86
86
|
"file": "src/manifests/tencent.json"
|
|
87
87
|
},
|
|
88
88
|
{
|
|
89
89
|
"id": "youku",
|
|
90
90
|
"name": "Youku",
|
|
91
|
-
"version": "0.
|
|
91
|
+
"version": "0.4.0",
|
|
92
92
|
"apiVersion": 1,
|
|
93
93
|
"file": "src/manifests/youku.json"
|
|
94
94
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mr-quin/dango-manifests",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.5.0",
|
|
4
4
|
"description": "Built-in dango manifests for danmaku sources",
|
|
5
5
|
"author": "Mr-Quin",
|
|
6
6
|
"license": "MIT",
|
|
@@ -29,6 +29,6 @@
|
|
|
29
29
|
},
|
|
30
30
|
"devDependencies": {
|
|
31
31
|
"@bufbuild/protobuf": "^2",
|
|
32
|
-
"@mr-quin/dango": "
|
|
32
|
+
"@mr-quin/dango": "workspace:*"
|
|
33
33
|
}
|
|
34
34
|
}
|
|
@@ -2,7 +2,12 @@
|
|
|
2
2
|
"apiVersion": 1,
|
|
3
3
|
"id": "aiyifan",
|
|
4
4
|
"name": "Aiyifan",
|
|
5
|
-
"
|
|
5
|
+
"locales": {
|
|
6
|
+
"zh-CN": {
|
|
7
|
+
"name": "爱壹帆"
|
|
8
|
+
}
|
|
9
|
+
},
|
|
10
|
+
"version": "0.4.0",
|
|
6
11
|
"hosts": ["www.yfsp.tv", "rankv21.tripdata.app", "m10.yfsp.tv"],
|
|
7
12
|
"search": {
|
|
8
13
|
"inputs": ["q"],
|
|
@@ -2,7 +2,15 @@
|
|
|
2
2
|
"apiVersion": 1,
|
|
3
3
|
"id": "bilibili",
|
|
4
4
|
"name": "Bilibili",
|
|
5
|
-
"
|
|
5
|
+
"locales": {
|
|
6
|
+
"zh-CN": {
|
|
7
|
+
"name": "B站",
|
|
8
|
+
"configSchema.properties.danmakuFormat.title": "弹幕格式",
|
|
9
|
+
"configSchema.properties.danmakuFormat.description": "xml 是旧版接口,最多约 3000 条弹幕;protobuf 分页返回全部弹幕",
|
|
10
|
+
"cookieSet.title": "登录B站"
|
|
11
|
+
}
|
|
12
|
+
},
|
|
13
|
+
"version": "0.4.0",
|
|
6
14
|
"hosts": ["api.bilibili.com"],
|
|
7
15
|
"urlMatch": [
|
|
8
16
|
{
|
|
@@ -2,7 +2,26 @@
|
|
|
2
2
|
"apiVersion": 1,
|
|
3
3
|
"id": "dandanplay",
|
|
4
4
|
"name": "DanDanPlay",
|
|
5
|
-
"
|
|
5
|
+
"locales": {
|
|
6
|
+
"zh-CN": {
|
|
7
|
+
"name": "弹弹play",
|
|
8
|
+
"configSchema.properties.baseUrl.title": "基础地址",
|
|
9
|
+
"configSchema.properties.baseUrl.description": "弹弹play(或兼容)API 的根地址。默认为官方 https://api.dandanplay.net。指向代理或自建服务器即可覆盖。",
|
|
10
|
+
"configSchema.properties.appId.title": "应用 ID",
|
|
11
|
+
"configSchema.properties.appId.description": "弹弹play 开放平台的 App ID。使用官方 API 时需填写;由代理在服务端签名时可留空。",
|
|
12
|
+
"configSchema.properties.appSecret.title": "应用密钥",
|
|
13
|
+
"configSchema.properties.appSecret.description": "弹弹play 开放平台的 App Secret,用于对官方 API 的请求进行签名。",
|
|
14
|
+
"configSchema.properties.auth.title": "鉴权",
|
|
15
|
+
"configSchema.properties.auth.description": "随每个请求发送的自定义请求头(如 token)。未设置 appId/appSecret 时用于替代签名,例如对接自建的兼容服务器。",
|
|
16
|
+
"configSchema.properties.auth.properties.enabled.title": "启用鉴权请求头",
|
|
17
|
+
"configSchema.properties.auth.properties.headers.title": "请求头",
|
|
18
|
+
"configSchema.properties.auth.properties.headers.items.properties.key.title": "请求头名称",
|
|
19
|
+
"configSchema.properties.auth.properties.headers.items.properties.value.title": "值",
|
|
20
|
+
"configSchema.properties.chConvert.title": "中文转换",
|
|
21
|
+
"configSchema.properties.chConvert.description": "0 = 不转换,1 = 转为简体,2 = 转为繁体"
|
|
22
|
+
}
|
|
23
|
+
},
|
|
24
|
+
"version": "0.4.0",
|
|
6
25
|
"hosts": ["*"],
|
|
7
26
|
"configSchema": {
|
|
8
27
|
"type": "object",
|
|
@@ -15,12 +34,12 @@
|
|
|
15
34
|
"appId": {
|
|
16
35
|
"type": "string",
|
|
17
36
|
"title": "App ID",
|
|
18
|
-
"description": "DanDanPlay open-platform App ID. Required
|
|
37
|
+
"description": "DanDanPlay open-platform App ID. Required when using the official API; leave empty when a proxy signs requests server-side."
|
|
19
38
|
},
|
|
20
39
|
"appSecret": {
|
|
21
40
|
"type": "string",
|
|
22
41
|
"title": "App Secret",
|
|
23
|
-
"description": "DanDanPlay open-platform App Secret
|
|
42
|
+
"description": "DanDanPlay open-platform App Secret. Used to sign requests to the official API."
|
|
24
43
|
},
|
|
25
44
|
"auth": {
|
|
26
45
|
"type": "object",
|
package/src/manifests/iqiyi.json
CHANGED
package/src/manifests/mango.json
CHANGED
package/src/manifests/migu.json
CHANGED
|
@@ -2,7 +2,12 @@
|
|
|
2
2
|
"apiVersion": 1,
|
|
3
3
|
"id": "migu",
|
|
4
4
|
"name": "Migu Video",
|
|
5
|
-
"
|
|
5
|
+
"locales": {
|
|
6
|
+
"zh-CN": {
|
|
7
|
+
"name": "咪咕视频"
|
|
8
|
+
}
|
|
9
|
+
},
|
|
10
|
+
"version": "0.4.0",
|
|
6
11
|
"hosts": ["jadeite.migu.cn", "v3-sc.miguvideo.com", "webapi.miguvideo.com"],
|
|
7
12
|
"search": {
|
|
8
13
|
"inputs": ["q"],
|
package/src/manifests/sohu.json
CHANGED
|
@@ -2,7 +2,12 @@
|
|
|
2
2
|
"apiVersion": 1,
|
|
3
3
|
"id": "sohu",
|
|
4
4
|
"name": "Sohu",
|
|
5
|
-
"
|
|
5
|
+
"locales": {
|
|
6
|
+
"zh-CN": {
|
|
7
|
+
"name": "搜狐视频"
|
|
8
|
+
}
|
|
9
|
+
},
|
|
10
|
+
"version": "0.4.0",
|
|
6
11
|
"hosts": ["m.so.tv.sohu.com", "api.tv.sohu.com", "api.danmu.tv.sohu.com"],
|
|
7
12
|
"search": {
|
|
8
13
|
"inputs": ["q"],
|
|
@@ -2,7 +2,13 @@
|
|
|
2
2
|
"apiVersion": 1,
|
|
3
3
|
"id": "tencent",
|
|
4
4
|
"name": "Tencent Video",
|
|
5
|
-
"
|
|
5
|
+
"locales": {
|
|
6
|
+
"zh-CN": {
|
|
7
|
+
"name": "腾讯视频",
|
|
8
|
+
"cookieSet.title": "访问腾讯视频以设置 Cookie"
|
|
9
|
+
}
|
|
10
|
+
},
|
|
11
|
+
"version": "0.4.0",
|
|
6
12
|
"hosts": ["pbaccess.video.qq.com", "dm.video.qq.com"],
|
|
7
13
|
"urlMatch": [
|
|
8
14
|
{
|