koishi-plugin-bilibili-videolink-analysis 1.3.0 → 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 CHANGED
@@ -585,7 +585,7 @@ var Config = import_koishi2.Schema.intersect([
585
585
  · 特殊变量\`\${~~~}\`表示分割线,会把上下内容分为两个信息单独发送。\`\${tab}\`表示制表符。`),
586
586
  bVideoShowLink: import_koishi2.Schema.boolean().default(false).description("在末尾显示视频的链接地址 `开启可能会导致其他bot循环解析`"),
587
587
  bVideoShowIntroductionTofixed: import_koishi2.Schema.number().default(50).description("视频的`简介`最大的字符长度<br>超出部分会使用 `...` 代替"),
588
- isfigure: import_koishi2.Schema.boolean().default(true).description("是否开启合并转发 `仅支持 onebot 适配器` 其他平台开启 无效").experimental(),
588
+ isfigure: import_koishi2.Schema.boolean().default(false).description("是否开启合并转发 `仅支持 onebot 适配器` 其他平台开启 无效").experimental(),
589
589
  filebuffer: import_koishi2.Schema.boolean().default(true).description("是否将视频链接下载后再发送 (以解决部分onebot协议端的问题)<br>否则使用视频直链发送").experimental(),
590
590
  middleware: import_koishi2.Schema.boolean().default(false).description("前置中间件模式"),
591
591
  userAgent: import_koishi2.Schema.string().description("所有 API 请求所用的 User-Agent").default("Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36")
@@ -621,7 +621,6 @@ function apply(ctx, config) {
621
621
  }
622
622
  }
623
623
  let sessioncontent = session.stripped.content;
624
- ctx.logger.info(sessioncontent);
625
624
  if (config.BVnumberParsing) {
626
625
  const bvUrls = bilibiliParser.convertBVToUrl(sessioncontent);
627
626
  if (bvUrls.length > 0) {
package/package.json CHANGED
@@ -2,16 +2,16 @@
2
2
  "name": "koishi-plugin-bilibili-videolink-analysis",
3
3
  "description": "[<ruby>Bilibili视频解析<rp>(</rp><rt>点我查看食用方法</rt><rp>)</rp></ruby>](https://www.npmjs.com/package/koishi-plugin-bilibili-videolink-analysis)解析B站链接(支持小程序卡片)支持搜索点播功能!灵感来自完美的 [bili-parser](/market?keyword=bili-parser) !",
4
4
  "license": "MIT",
5
- "version": "1.3.0",
5
+ "version": "1.3.2",
6
6
  "main": "lib/index.js",
7
7
  "typings": "lib/index.d.ts",
8
8
  "files": [
9
9
  "lib",
10
10
  "src"
11
11
  ],
12
- "homepage": "https://github.com/shangxueink/koishi-shangxue-apps/tree/main/",
12
+ "homepage": "https://github.com/koishi-shangxue-plugins/koishi-shangxue-apps/tree/main/",
13
13
  "bugs": {
14
- "url": "https://github.com/shangxueink/koishi-shangxue-apps/issues"
14
+ "url": "https://github.com/koishi-shangxue-plugins/koishi-shangxue-apps/issues"
15
15
  },
16
16
  "keywords": [
17
17
  "chatbot",
package/src/index.ts CHANGED
@@ -160,7 +160,7 @@ export const Config = Schema.intersect([
160
160
  · 特殊变量\`\${~~~}\`表示分割线,会把上下内容分为两个信息单独发送。\`\${tab}\`表示制表符。`),
161
161
  bVideoShowLink: Schema.boolean().default(false).description("在末尾显示视频的链接地址 `开启可能会导致其他bot循环解析`"),
162
162
  bVideoShowIntroductionTofixed: Schema.number().default(50).description("视频的`简介`最大的字符长度<br>超出部分会使用 `...` 代替"),
163
- isfigure: Schema.boolean().default(true).description("是否开启合并转发 `仅支持 onebot 适配器` 其他平台开启 无效").experimental(),
163
+ isfigure: Schema.boolean().default(false).description("是否开启合并转发 `仅支持 onebot 适配器` 其他平台开启 无效").experimental(),
164
164
  filebuffer: Schema.boolean().default(true).description("是否将视频链接下载后再发送 (以解决部分onebot协议端的问题)<br>否则使用视频直链发送").experimental(),
165
165
  middleware: Schema.boolean().default(false).description("前置中间件模式"),
166
166
  userAgent: Schema.string().description("所有 API 请求所用的 User-Agent").default("Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36"),
@@ -203,7 +203,6 @@ export function apply(ctx: Context, config: Config) {
203
203
  }
204
204
 
205
205
  let sessioncontent = session.stripped.content;
206
- ctx.logger.info(sessioncontent)
207
206
  if (config.BVnumberParsing) {
208
207
  const bvUrls = bilibiliParser.convertBVToUrl(sessioncontent);
209
208
  if (bvUrls.length > 0) {