fix bug
This commit is contained in:
parent
43f3f04226
commit
cf301f11ad
@ -280,7 +280,7 @@ class MediaInfo:
|
||||
# 导演和演员
|
||||
self.directors, self.actors = __directors_actors(info)
|
||||
# 别名和译名
|
||||
self.names = info.get('names')
|
||||
self.names = info.get('names') or []
|
||||
|
||||
def set_douban_info(self, info: dict):
|
||||
"""
|
||||
|
@ -108,7 +108,7 @@ class IndexerModule(_ModuleBase):
|
||||
logger.warn(f"{site.get('name')} 未搜索到数据,耗时 {seconds} 秒")
|
||||
return []
|
||||
else:
|
||||
logger.warn(f"{site.get('name')} 搜索完成,耗时 {seconds} 秒,返回数据:{len(result_array)}")
|
||||
logger.info(f"{site.get('name')} 搜索完成,耗时 {seconds} 秒,返回数据:{len(result_array)}")
|
||||
# 合并站点信息,以TorrentInfo返回
|
||||
return [TorrentInfo(site=site.get("id"),
|
||||
site_name=site.get("name"),
|
||||
|
Loading…
x
Reference in New Issue
Block a user