From a29616373c71257ff90c57233afa6bf267c50eb6 Mon Sep 17 00:00:00 2001 From: Xtao_dada Date: Fri, 25 Feb 2022 13:15:49 +0000 Subject: [PATCH] =?UTF-8?q?diss=20=E6=9B=B4=E6=96=B0=20API=20=E5=9C=B0?= =?UTF-8?q?=E5=9D=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- diss.py | 4 ++-- list.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/diss.py b/diss.py index dc3d7c7..a84cf7b 100644 --- a/diss.py +++ b/diss.py @@ -9,7 +9,7 @@ from pagermaid.utils import alias_command, client async def diss(context): await context.edit("获取中 . . .") for _ in range(20): # 最多尝试20次 - req = await client.get("https://xtaolabs.com/api/diss/?level=min&from=tntcrafthim") + req = await client.get("https://api.yanyuwangluo.cn/zuan/api.php?level=min&from=tntcrafthim") if req.status_code == 200: res = req.text return await context.edit(res, parse_mode='html', link_preview=False) @@ -25,7 +25,7 @@ async def diss(context): async def biss(context): await context.edit("获取中 . . .") for _ in range(20): # 最多尝试20次 - req = await client.get("https://xtaolabs.com/api/diss/?from=tntcrafthim") + req = await client.get("https://api.yanyuwangluo.cn/zuan/api.php?from=tntcrafthim") if req.status_code == 200: res = req.text return await context.edit(res, parse_mode='html', link_preview=False) diff --git a/list.json b/list.json index 4c4f08f..8639ad9 100644 --- a/list.json +++ b/list.json @@ -242,7 +242,7 @@ }, { "name": "diss", - "version": "1.113", + "version": "1.114", "section": "chat", "maintainer": "TNTcraftHIM", "size": "1.4 kb",