This commit is contained in:
thsrite
2024-04-24 11:49:24 +08:00
parent beb51a1b0b
commit 038b78cb88
2 changed files with 4 additions and 1 deletions

View File

@@ -327,7 +327,7 @@
"author": "thsrite",
"level": 2,
"history": {
"v1.8": "修复种子下载不填充bug",
"v1.8": "支持自定义占位符、修复种子下载不填充bug",
"v1.7": "操作历史Unicode编码转中文",
"v1.6": "支持一行配置多个二级分类名称",
"v1.5": "支持操作历史",

View File

@@ -284,6 +284,9 @@ class SubscribeGroup(_PluginBase):
and (not subscribe.sites or (subscribe.sites and len(json.loads(subscribe.sites)) == 0))):
# 官组
resource_team = _meta.resource_team if _meta else None
customization = _meta.customization if _meta else None
if resource_team and customization:
resource_team = f"{customization}.+{resource_team}"
# 站点
sites = json.dumps([_torrent.site]) if _torrent and _torrent.site else None