koishi-plugin-video-parser-all 1.3.1 → 1.3.2
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/lib/index.js +3 -3
- package/package.json +1 -1
- package/readme.md +2 -2
package/lib/index.js
CHANGED
|
@@ -76,7 +76,7 @@ exports.Config = koishi_1.Schema.intersect([
|
|
|
76
76
|
debug: koishi_1.Schema.boolean().default(false).description('开启调试模式,在控制台输出详细日志'),
|
|
77
77
|
}).description('基础设置'),
|
|
78
78
|
koishi_1.Schema.object({
|
|
79
|
-
unifiedMessageFormat: koishi_1.Schema.string().role('textarea').default('标题:${标题}\n作者:${作者}\n简介:${简介}\n点赞:${点赞数}\n收藏:${收藏数}\n转发:${转发数}\n播放:${播放数}\n评论:${评论数}\n图片数量:${图片数量}').description('统一消息格式,可用变量:${标题} ${作者} ${简介} ${点赞数} ${收藏数} ${转发数} ${播放数} ${评论数} ${视频时长} ${发布时间} ${图片数量} ${作者ID} ${音乐标题} ${音乐作者} ${音乐封面} ${音乐链接}'),
|
|
79
|
+
unifiedMessageFormat: koishi_1.Schema.string().role('textarea').default('标题:${标题}\n作者:${作者}\n简介:${简介}\n音乐标题:${音乐标题}\n音乐作者:${音乐作者}\n音乐封面:${音乐封面}\n音乐链接:${音乐链接}\n点赞:${点赞数}\n收藏:${收藏数}\n转发:${转发数}\n播放:${播放数}\n评论:${评论数}\n图片数量:${图片数量}').description('统一消息格式,可用变量:${标题} ${作者} ${简介} ${点赞数} ${收藏数} ${转发数} ${播放数} ${评论数} ${视频时长} ${发布时间} ${图片数量} ${作者ID} ${音乐标题} ${音乐作者} ${音乐封面} ${音乐链接}'),
|
|
80
80
|
}).description('消息格式设置'),
|
|
81
81
|
koishi_1.Schema.object({
|
|
82
82
|
showImageText: koishi_1.Schema.boolean().default(true).description('是否发送解析后的文字内容'),
|
|
@@ -144,7 +144,7 @@ exports.Config = koishi_1.Schema.intersect([
|
|
|
144
144
|
twitter: koishi_1.Schema.boolean().default(false).description('Twitter/X - 优先使用专属 API'),
|
|
145
145
|
instagram: koishi_1.Schema.boolean().default(false).description('Instagram - 优先使用专属 API'),
|
|
146
146
|
doubao: koishi_1.Schema.boolean().default(false).description('豆包 - 优先使用专属 API'),
|
|
147
|
-
doubao_chat: koishi_1.Schema.boolean().default(false).description('
|
|
147
|
+
doubao_chat: koishi_1.Schema.boolean().default(false).description('豆包对话 - 优先使用专属 API'),
|
|
148
148
|
oasis: koishi_1.Schema.boolean().default(false).description('绿洲 - 优先使用专属 API'),
|
|
149
149
|
wechat_channel: koishi_1.Schema.boolean().default(false).description('视频号 - 优先使用专属 API'),
|
|
150
150
|
}).description('各平台独立开关:是否优先使用专属 API'),
|
|
@@ -167,7 +167,7 @@ exports.Config = koishi_1.Schema.intersect([
|
|
|
167
167
|
koishi_1.Schema.const('twitter').description('Twitter/X'),
|
|
168
168
|
koishi_1.Schema.const('instagram').description('Instagram'),
|
|
169
169
|
koishi_1.Schema.const('doubao').description('豆包'),
|
|
170
|
-
koishi_1.Schema.const('doubao_chat').description('
|
|
170
|
+
koishi_1.Schema.const('doubao_chat').description('豆包对话'),
|
|
171
171
|
koishi_1.Schema.const('oasis').description('绿洲'),
|
|
172
172
|
koishi_1.Schema.const('wechat_channel').description('视频号'),
|
|
173
173
|
]).description('选择平台'),
|
package/package.json
CHANGED
package/readme.md
CHANGED
|
@@ -31,7 +31,7 @@ This is a **multi-platform video/image parsing plugin** developed for the Koishi
|
|
|
31
31
|
### 统一消息格式 (Unified Message Format)
|
|
32
32
|
| 配置项 | 类型 | 默认值 | 说明 |
|
|
33
33
|
|--------|------|--------|------|
|
|
34
|
-
| `unifiedMessageFormat` | string | `标题:${标题}\n作者:${作者}\n简介:${简介}\n点赞:${点赞数}\n收藏:${收藏数}\n转发:${转发数}\n播放:${播放数}\n评论:${评论数}\n图片数量:${图片数量}` | 自定义解析结果的输出格式,支持变量替换。某行所有变量均为空(或为"0")时自动隐藏该行 |
|
|
34
|
+
| `unifiedMessageFormat` | string | `标题:${标题}\n作者:${作者}\n简介:${简介}\n音乐标题:${音乐标题}\n音乐作者:${音乐作者}\n音乐封面:${音乐封面}\n音乐链接:${音乐链接}\n点赞:${点赞数}\n收藏:${收藏数}\n转发:${转发数}\n播放:${播放数}\n评论:${评论数}\n图片数量:${图片数量}` | 自定义解析结果的输出格式,支持变量替换。某行所有变量均为空(或为"0")时自动隐藏该行 |
|
|
35
35
|
|
|
36
36
|
### 内容显示设置 (Content Display Settings)
|
|
37
37
|
| 配置项 | 类型 | 默认值 | 说明 |
|
|
@@ -139,7 +139,7 @@ This is a **multi-platform video/image parsing plugin** developed for the Koishi
|
|
|
139
139
|
| Twitter / X | twitter, x.com | 视频、图文 |
|
|
140
140
|
| Instagram | instagram, instagram.com | 图文、Reels |
|
|
141
141
|
| 豆包 | doubao (doubao.com/video) | 视频 |
|
|
142
|
-
|
|
|
142
|
+
| 豆包对话 | doubao (doubao.com/thread) | 对话分享 |
|
|
143
143
|
| 皮皮搞笑 | pipigx, h5.pipigx.com | 短视频 |
|
|
144
144
|
| 皮皮虾 | pipixia, h5.pipix.com | 短视频 |
|
|
145
145
|
| 最右 | zuiyou, xiaochuankeji.cn | 短视频 |
|