mirror of
https://github.com/Jerryplusy/rc-plugin.git
synced 2025-10-14 16:19:18 +00:00
🐞 fix: 修复bili分页解析 & 搜书无书问题
This commit is contained in:
parent
77afea7470
commit
b2eb767318
@ -320,7 +320,7 @@ export class query extends plugin {
|
||||
.flatMap(item => {
|
||||
return item.value.flat();
|
||||
});
|
||||
await e.reply(await Bot.makeForwardMsg(combineRet));
|
||||
combineRet.length > 0 && await e.reply(await Bot.makeForwardMsg(combineRet));
|
||||
// ZHelper 特殊处理
|
||||
const zHelper = await getZHelper(e, keyword);
|
||||
zHelper.unshift({
|
||||
|
@ -402,7 +402,7 @@ export class tools extends plugin {
|
||||
// 加入图片
|
||||
biliInfo.unshift(segment.image(pic))
|
||||
// 限制视频解析
|
||||
const durationInMinutes = (pages?.[curPage].duration / 60).toFixed(0);
|
||||
const durationInMinutes = (curDuration / 60).toFixed(0);
|
||||
biliInfo.push(`\n-----------------------限制说明-----------------------\n当前视频时长约:${durationInMinutes}分钟,\n大于管理员设置的最大时长 ${this.biliDuration / 60} 分钟!`)
|
||||
e.reply(biliInfo);
|
||||
// 总结
|
||||
|
Loading…
x
Reference in New Issue
Block a user