mirror of
https://github.com/Jerryplusy/rc-plugin.git
synced 2025-10-14 08:09:19 +00:00
🗑️ del: 删除无用功能
This commit is contained in:
parent
2cf3702704
commit
d08e6a06af
@ -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 = {
|
||||
|
Loading…
x
Reference in New Issue
Block a user