feat:种子名为拼音的情况下,从副标题中提取中文名用于识别

This commit is contained in:
jxxghp
2024-04-07 14:25:12 +08:00
parent cae563ce53
commit 80a390ac6c
3 changed files with 76 additions and 4 deletions

View File

@ -75,8 +75,8 @@ class MetaBase(object):
def __init__(self, title: str, subtitle: str = None, isfile: bool = False):
if not title:
return
self.org_string = title
self.subtitle = subtitle
self.org_string = title.strip() if title else None
self.subtitle = subtitle.strip() if subtitle else None
self.isfile = isfile
@property