From 0642f9d62a417f55403e340b55cc7faa32f0b1db Mon Sep 17 00:00:00 2001 From: zhiyu1998 <542716863@qq.com> Date: Thu, 19 Sep 2024 22:57:52 +0800 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20feat:=20=E6=96=B0=E5=A2=9E=20`#rso`?= =?UTF-8?q?=20=E6=90=9C=E7=B4=A2=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 在 config/version.yaml 中新增 rso 搜索功能,优化队列下载和 GPT 功能 - 增加哔哩哔哩下载分辨率设置功能,新增自定义识别功能 - 支持锅巴插件,方便查看和修改配置 - 更新 query.js 文件,增加必应搜索功能支持 - 优化常量配置,增加 BING_SEARCH 常量,支持新的搜索功能 --- apps/query.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/apps/query.js b/apps/query.js index 1860a08..c8c20df 100644 --- a/apps/query.js +++ b/apps/query.js @@ -401,13 +401,11 @@ export class query extends plugin { async rso(e) { const question = e.msg.replace("#Rso", "").replace("#rso", "").trim(); - logger.info(question); const resp = await fetch(BING_SEARCH.replace("{}", question), { headers: { "User-Agent": COMMON_USER_AGENT, } }); - logger.info(await resp); const respJson = (await resp.json()).data; const constructSearchRes = textArrayToMakeForward(e, respJson.map(item => `标题:《${ item.title }》\n📝 简要:${ item.abstract }\n➡️链接:${ item.href }`