From eaeae5ef025c0651f59d19030f2644d15bf64684 Mon Sep 17 00:00:00 2001 From: ljmeng Date: Wed, 27 Mar 2024 13:21:57 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E8=AF=B4=E6=98=8E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- plugins/crossseed/__init__.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/plugins/crossseed/__init__.py b/plugins/crossseed/__init__.py index c37aaa1..73beec4 100644 --- a/plugins/crossseed/__init__.py +++ b/plugins/crossseed/__init__.py @@ -477,9 +477,9 @@ class CrossSeed(_PluginBase): 'type': 'info', 'variant': 'tonal', 'text': '1. 定时任务周期建议每次辅种间隔时间大于1天,不填写每天上午2点到7点随机辅种一次; ' - '2. 支持辅种站点列表: 青蛙【已验证】, AGSVPT, 麒麟, UBits, 聆音 等; ' + '2. 支持辅种站点列表:青蛙【已验证】,AGSVPT,麒麟,UBits,聆音 等,配置passkey时,站点名称需严格和上面选项一致; ' '3. 请勿与IYUU辅种插件同时添加相同站点,可能会有冲突,且意义不大;' - '3. 测试站点是否支持的方法: 站点域名/api/pieces-hash 接口访问返回405则大概率支持 ' + '4. 测试站点是否支持的方法:【站点域名/api/pieces-hash】接口访问返回405则大概率支持 ' } } ] @@ -842,7 +842,7 @@ class CrossSeed(_PluginBase): proxy=site_info.proxy) # 兼容种子无法访问的情况 - if not content or (isinstance(content, str) and "你没有该权限" in content): + if not content or (isinstance(content, bytes) and "你没有该权限".encode(encoding="utf-8") in content): # 下载失败 self.fail += 1 self.cached += 1