This commit is contained in:
jxxghp 2024-04-18 11:20:03 +08:00
parent 6d66c5b577
commit 73a3a8cf94

View File

@ -464,6 +464,7 @@ class TorrentHelper(metaclass=Singleton):
logger.info(f'{mediainfo.title} 通过别名或译名匹配到资源:{torrent.site_name} - {torrent.title}') logger.info(f'{mediainfo.title} 通过别名或译名匹配到资源:{torrent.site_name} - {torrent.title}')
return True return True
# 标题拆分 # 标题拆分
if torrent_meta.org_string:
titles = [StringUtils.clear_upper(t) for t in re.split(r'[\s/【】.\[\]\-]+', titles = [StringUtils.clear_upper(t) for t in re.split(r'[\s/【】.\[\]\-]+',
torrent_meta.org_string) if t] torrent_meta.org_string) if t]
# 在标题中判断是否存在标题、原语种标题 # 在标题中判断是否存在标题、原语种标题