修复馒头辅种的异常

This commit is contained in:
杨玲辉
2024-04-28 11:46:41 +08:00
parent c0157d959f
commit ca492a8ef7

View File

@@ -906,7 +906,6 @@ 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',
@@ -920,7 +919,6 @@ 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):