From 856e37214125110b44fe065ae92c9f1e450be825 Mon Sep 17 00:00:00 2001 From: zhiyu1998 <542716863@qq.com> Date: Wed, 21 Aug 2024 12:32:44 +0800 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20feat:=20=E6=96=B0=E5=A2=9E=E7=95=AA?= =?UTF-8?q?=E5=89=A7=E6=BA=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/tools.js | 5 +++-- constants/tools.js | 8 +++++++- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/apps/tools.js b/apps/tools.js index 0046e72..e9e203e 100644 --- a/apps/tools.js +++ b/apps/tools.js @@ -26,7 +26,7 @@ import { XHS_NO_WATERMARK_HEADER, } from "../constants/constant.js"; import { - ANIME_SERIES_SEARCH_LINK, + ANIME_SERIES_SEARCH_LINK, ANIME_SERIES_SEARCH_LINK2, BILI_EP_INFO, BILI_ONLINE, BILI_SSID_INFO, BILI_STREAM_INFO, @@ -659,7 +659,8 @@ export class tools extends plugin { segment.image(resp.result.cover), `${ this.identifyPrefix }识别:哔哩哔哩番剧,${ result.title }\n🎯 评分: ${ result?.rating?.score ?? '-' } / ${ result?.rating?.count ?? '-' }\n📺 ${ result.new_ep.desc }, ${ result.seasons[0].new_ep.index_show }\n`, `${ formatBiliInfo(dataProcessMap) }`, - `\n\n在线观看: ${ await urlTransformShortLink(ANIME_SERIES_SEARCH_LINK + result.title) }` + `\n\n🪶 在线观看: ${ await urlTransformShortLink(ANIME_SERIES_SEARCH_LINK + result.title) }`, + `\n🌸 在线观看: ${ await urlTransformShortLink(ANIME_SERIES_SEARCH_LINK2 + result.title) }` ], true); return ep; } diff --git a/constants/tools.js b/constants/tools.js index 4891754..81179a5 100644 --- a/constants/tools.js +++ b/constants/tools.js @@ -192,4 +192,10 @@ export const WEISHI_VIDEO_INFO = "https://h5.weishi.qq.com/webapp/json/weishi/WS * 番剧搜索链接 * @type {string} */ -export const ANIME_SERIES_SEARCH_LINK = "https://ylu.cc/so.php?wd=" \ No newline at end of file +export const ANIME_SERIES_SEARCH_LINK = "https://ylu.cc/so.php?wd=" + +/** + * 番剧搜索链接2 + * @type {string} + */ +export const ANIME_SERIES_SEARCH_LINK2 = "https://yhdm.one/search?q=" \ No newline at end of file