fix search
This commit is contained in:
parent
42966c2537
commit
d4dc388d3f
@ -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)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user