From d08e6a06af324d4b12a7880716552a5345fff04c Mon Sep 17 00:00:00 2001 From: zhiyu1998 Date: Mon, 27 Feb 2023 13:54:35 +0800 Subject: [PATCH] =?UTF-8?q?:wastebasket:=20del:=20=E5=88=A0=E9=99=A4?= =?UTF-8?q?=E6=97=A0=E7=94=A8=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/tools.js | 19 ------------------- 1 file changed, 19 deletions(-) diff --git a/apps/tools.js b/apps/tools.js index 7717119..c423531 100644 --- a/apps/tools.js +++ b/apps/tools.js @@ -427,25 +427,6 @@ export class tools extends plugin { return true; } - // 视频解析 - async tx (e) { - const url = e.msg; - const data = await (await fetch(`https://xian.txma.cn/API/jx_txjx.php?url=${ url }`)).json(); - const k = data.url; - const name = data.title; - if (k && name) { - e.reply(name + "\n" + k); - let forward = await this.makeForwardMsg(url); - e.reply(forward); - return true; - } else { - e.reply("解析腾讯视频失败~\n去浏览器使用拼接接口吧..."); - let forward = await this.makeForwardMsg(url); - e.reply(forward); - return true; - } - } - // 请求参数 async douyinRequest (url) { const params = {