From ea2ff3936afbebff17a4d215a33b7cc87d37d35c Mon Sep 17 00:00:00 2001 From: jxxghp Date: Wed, 21 Jun 2023 08:13:23 +0800 Subject: [PATCH] fix --- app/chain/download.py | 2 +- app/chain/message.py | 2 +- app/modules/filter/__init__.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/chain/download.py b/app/chain/download.py index 55e92469..8ab32ad7 100644 --- a/app/chain/download.py +++ b/app/chain/download.py @@ -395,7 +395,7 @@ class DownloadChain(ChainBase): # 选中的集 selected_episodes = set(torrent_episodes).intersection(set(need_episodes)) if not selected_episodes: - logger.info(f"{meta.org_string} 没有需要的集,跳过...") + logger.info(f"{torrent.site_name} - {torrent.title} 没有需要的集,跳过...") continue # 添加下载 download_id = self.download_single(context=context, diff --git a/app/chain/message.py b/app/chain/message.py index d94dcd4c..75cce15e 100644 --- a/app/chain/message.py +++ b/app/chain/message.py @@ -107,7 +107,7 @@ class MessageChain(ChainBase): if not contexts: # 没有数据 self.post_message(title=f"{mediainfo.title}" - f"{self._current_meta.sea} 未搜索到资源!", + f"{self._current_meta.sea} 未搜索到需要的资源!", userid=userid) return # 搜索结果排序 diff --git a/app/modules/filter/__init__.py b/app/modules/filter/__init__.py index 9638a4a7..7e18755d 100644 --- a/app/modules/filter/__init__.py +++ b/app/modules/filter/__init__.py @@ -123,7 +123,7 @@ class FilterModule(_ModuleBase): if need_episodes \ and not set(torrent_seasons).intersection(set(need_episodes)): # 单季集没有交集的不要 - logger.info(f"种子 {torrent.title} 集 {torrent_episodes} 没有需要的集") + logger.info(f"种子 {torrent.site_name} - {torrent.title} 集 {torrent_episodes} 没有需要的集") return False return True