koishi-plugin-bilibili-videolink-analysis 1.1.5 → 1.1.6
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 +1 -1
- package/package.json +1 -1
package/lib/index.js
CHANGED
|
@@ -113,7 +113,7 @@ function apply(ctx, config) {
|
|
|
113
113
|
|
|
114
114
|
ctx.middleware(async (session, next) => {
|
|
115
115
|
|
|
116
|
-
|
|
116
|
+
let sessioncontent = session.content;
|
|
117
117
|
// 如果允许解析 BV 号,则进行解析
|
|
118
118
|
if (config.BVnumberParsing) {
|
|
119
119
|
const bvUrls = convertBVToUrl(sessioncontent);
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
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.1.
|
|
5
|
+
"version": "1.1.6",
|
|
6
6
|
"main": "lib/index.js",
|
|
7
7
|
"typings": "lib/index.d.ts",
|
|
8
8
|
"files": [
|