From c3eb42728434ab8fc4743c0c53e94b0374d811e9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=A8=E7=8E=B2=E8=BE=89?= Date: Sun, 28 Apr 2024 11:37:36 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E9=A6=92=E5=A4=B4=E6=96=B0?= =?UTF-8?q?=E6=9E=B6=E6=9E=84=E8=BE=85=E7=A7=8D=E4=B8=8D=E6=88=90=E5=8A=9F?= =?UTF-8?q?=E7=9A=84=E5=BC=82=E5=B8=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 3 ++- plugins/iyuuautoseed/__init__.py | 3 +++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index cacbb92..1f3daa4 100644 --- a/package.json +++ b/package.json @@ -208,11 +208,12 @@ "IYUUAutoSeed": { "name": "IYUU自动辅种", "description": "基于IYUU官方Api实现自动辅种。", - "version": "1.4", + "version": "1.4.1", "icon": "IYUU.png", "author": "jxxghp", "level": 2, "history": { + "v1.4.1": "修复馒头新架构辅种不成功的异常", "v1.4": "支持馒头新架构辅种" } }, diff --git a/plugins/iyuuautoseed/__init__.py b/plugins/iyuuautoseed/__init__.py index 5eb8788..c273581 100644 --- a/plugins/iyuuautoseed/__init__.py +++ b/plugins/iyuuautoseed/__init__.py @@ -906,6 +906,7 @@ class IYUUAutoSeed(_PluginBase): if not _apikey: logger.error("m-team站点的apikey未配置") return None + logger.info(f"m-team apikey: ${_apikey}") with RequestUtils( headers={ 'Content-Type': 'application/json', @@ -919,6 +920,8 @@ class IYUUAutoSeed(_PluginBase): if not res: logger.warn(f"m-team 获取种子下载链接失败:{tid}") return None + logger.info(f"m-team res: ${res}") + return res.json().get("data") def __is_special_site(url: str): """