feat(transfer): 支持按条件查询订阅获取自定义识别词用于文件转移

This commit is contained in:
Attente
2026-01-25 11:34:03 +08:00
parent cc4859950c
commit f55916bda2
5 changed files with 122 additions and 14 deletions
-5
View File
@@ -292,10 +292,6 @@ class DownloadChain(ChainBase):
# 登记下载记录
downloadhis = DownloadHistoryOper()
# 获取应用的识别词(如果有)
custom_words_str = None
if hasattr(_meta, 'apply_words') and _meta.apply_words:
custom_words_str = '\n'.join(_meta.apply_words)
downloadhis.add(
path=download_path.as_posix(),
type=_media.type.value,
@@ -319,7 +315,6 @@ class DownloadChain(ChainBase):
date=time.strftime("%Y-%m-%d %H:%M:%S", time.localtime()),
media_category=_media.category,
episode_group=_media.episode_group,
custom_words=custom_words_str,
note={"source": source}
)