From ead01e5adef3972bd7bc59c87cdad105e7c54502 Mon Sep 17 00:00:00 2001 From: jxxghp Date: Sun, 28 Apr 2024 12:15:57 +0800 Subject: [PATCH] fix #244 --- package.json | 4 ++-- plugins/iyuuautoseed/__init__.py | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index cacbb92..c79b1ef 100644 --- a/package.json +++ b/package.json @@ -208,12 +208,12 @@ "IYUUAutoSeed": { "name": "IYUU自动辅种", "description": "基于IYUU官方Api实现自动辅种。", - "version": "1.4", + "version": "1.5", "icon": "IYUU.png", "author": "jxxghp", "level": 2, "history": { - "v1.4": "支持馒头新架构辅种" + "v1.5": "支持馒头新架构辅种" } }, "CrossSeed": { diff --git a/plugins/iyuuautoseed/__init__.py b/plugins/iyuuautoseed/__init__.py index 5eb8788..d7d2afb 100644 --- a/plugins/iyuuautoseed/__init__.py +++ b/plugins/iyuuautoseed/__init__.py @@ -34,7 +34,7 @@ class IYUUAutoSeed(_PluginBase): # 插件图标 plugin_icon = "IYUU.png" # 插件版本 - plugin_version = "1.4" + plugin_version = "1.5" # 插件作者 plugin_author = "jxxghp" # 作者主页 @@ -919,6 +919,7 @@ class IYUUAutoSeed(_PluginBase): if not res: logger.warn(f"m-team 获取种子下载链接失败:{tid}") return None + return res.json().get("data") def __is_special_site(url: str): """