koishi-plugin-video-parser-all 0.9.3 → 0.9.4

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 CHANGED
@@ -41,7 +41,7 @@ exports.Config = koishi_1.Schema.intersect([
41
41
  unsupportedPlatformText: koishi_1.Schema.string().default('不支持该平台链接').description('不支持的平台提示'),
42
42
  invalidLinkText: koishi_1.Schema.string().default('无效的视频链接').description('无效链接提示(parse 指令)'),
43
43
  parseErrorPrefix: koishi_1.Schema.string().default('❌ 解析失败:').description('解析失败消息前缀'),
44
- parseErrorItemFormat: koishi_1.Schema.string().default('【${url}】: ${msg}').description('每条解析失败格式,可用 ${url} ${msg}'),
44
+ parseErrorItemFormat: koishi_1.Schema.string().default('【${url}】: ${msg}').description('每条解析失败格式,可用变量:${url}(链接)、${msg}(错误信息)'),
45
45
  }).description('界面文字设置'),
46
46
  ]);
47
47
  const logger = new koishi_1.Logger(exports.name);
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "koishi-plugin-video-parser-all",
3
3
  "description": "Koishi 全平台视频解析插件,支持抖音/快手/B站/微博/小红书/剪映/YouTube/TikTok等20+平台",
4
- "version": "0.9.3",
4
+ "version": "0.9.4",
5
5
  "main": "lib/index.js",
6
6
  "typings": "lib/index.d.ts",
7
7
  "files": [
package/readme.md CHANGED
@@ -78,7 +78,7 @@ This is a **multi-platform video/image parsing plugin** developed for the Koishi
78
78
  | `unsupportedPlatformText` | string | 不支持该平台链接 | 不支持的平台提示 |
79
79
  | `invalidLinkText` | string | 无效的视频链接 | 无效链接提示(parse 指令) |
80
80
  | `parseErrorPrefix` | string | ❌ 解析失败: | 解析失败消息前缀 |
81
- | `parseErrorItemFormat` | string | 【${url}】: ${msg} | 每条解析失败格式,可用 `${url}` `${msg}` |
81
+ | `parseErrorItemFormat` | string | 【${url}】: ${msg} | 每条解析失败的展示格式,可用 ${url}(链接)和 ${msg}(错误信息) |
82
82
 
83
83
  ## 支持的变量 (Supported Variables)
84
84
  在 `unifiedMessageFormat` 中可使用以下变量进行自定义格式化,某行所有变量均为空时该行不显示: