mirror of
https://github.com/jxxghp/MoviePilot.git
synced 2026-09-05 23:47:41 +08:00
fix search
This commit is contained in:
+1
-1
@@ -213,7 +213,7 @@ class SearchChain(ChainBase):
|
|||||||
continue
|
continue
|
||||||
# 在副标题中判断是否存在标题与原语种标题
|
# 在副标题中判断是否存在标题与原语种标题
|
||||||
if torrent.description:
|
if torrent.description:
|
||||||
subtitle = torrent.description.split()
|
subtitle = re.split(r'[\s/|]+', torrent.description)
|
||||||
if (StringUtils.is_chinese(mediainfo.title)
|
if (StringUtils.is_chinese(mediainfo.title)
|
||||||
and str(mediainfo.title) in subtitle) \
|
and str(mediainfo.title) in subtitle) \
|
||||||
or (StringUtils.is_chinese(mediainfo.original_title)
|
or (StringUtils.is_chinese(mediainfo.original_title)
|
||||||
|
|||||||
Reference in New Issue
Block a user