fix
This commit is contained in:
parent
daed0c98fb
commit
ea2ff3936a
@ -395,7 +395,7 @@ class DownloadChain(ChainBase):
|
|||||||
# 选中的集
|
# 选中的集
|
||||||
selected_episodes = set(torrent_episodes).intersection(set(need_episodes))
|
selected_episodes = set(torrent_episodes).intersection(set(need_episodes))
|
||||||
if not selected_episodes:
|
if not selected_episodes:
|
||||||
logger.info(f"{meta.org_string} 没有需要的集,跳过...")
|
logger.info(f"{torrent.site_name} - {torrent.title} 没有需要的集,跳过...")
|
||||||
continue
|
continue
|
||||||
# 添加下载
|
# 添加下载
|
||||||
download_id = self.download_single(context=context,
|
download_id = self.download_single(context=context,
|
||||||
|
@ -107,7 +107,7 @@ class MessageChain(ChainBase):
|
|||||||
if not contexts:
|
if not contexts:
|
||||||
# 没有数据
|
# 没有数据
|
||||||
self.post_message(title=f"{mediainfo.title}"
|
self.post_message(title=f"{mediainfo.title}"
|
||||||
f"{self._current_meta.sea} 未搜索到资源!",
|
f"{self._current_meta.sea} 未搜索到需要的资源!",
|
||||||
userid=userid)
|
userid=userid)
|
||||||
return
|
return
|
||||||
# 搜索结果排序
|
# 搜索结果排序
|
||||||
|
@ -123,7 +123,7 @@ class FilterModule(_ModuleBase):
|
|||||||
if need_episodes \
|
if need_episodes \
|
||||||
and not set(torrent_seasons).intersection(set(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 False
|
||||||
return True
|
return True
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user