fix hhanclub

fix #162
This commit is contained in:
jxxghp 2023-08-18 09:06:43 +08:00
parent f68bbd04fd
commit 192217c832
3 changed files with 5 additions and 5 deletions

View File

@ -28,7 +28,7 @@ class IndexerModule(_ModuleBase):
return "INDEXER", "builtin" return "INDEXER", "builtin"
def search_torrents(self, site: CommentedMap, mediainfo: MediaInfo = None, def search_torrents(self, site: CommentedMap, mediainfo: MediaInfo = None,
keyword: str = None, page: int = None) -> List[TorrentInfo]: keyword: str = None, page: int = 0) -> List[TorrentInfo]:
""" """
搜索一个站点 搜索一个站点
:param mediainfo: 识别的媒体信息 :param mediainfo: 识别的媒体信息
@ -102,7 +102,7 @@ class IndexerModule(_ModuleBase):
keyword: str = None, keyword: str = None,
imdbid: str = None, imdbid: str = None,
mtype: MediaType = None, mtype: MediaType = None,
page: int = None) -> (bool, List[dict]): page: int = 0) -> (bool, List[dict]):
""" """
根据关键字搜索单个站点 根据关键字搜索单个站点
:param: indexer: 站点配置 :param: indexer: 站点配置

View File

@ -69,8 +69,8 @@ class TorrentSpider:
indexer: CommentedMap, indexer: CommentedMap,
keyword: [str, list] = None, keyword: [str, list] = None,
imdbid: str = None, imdbid: str = None,
page=None, page: int = 0,
referer=None, referer: str = None,
mtype: MediaType = None): mtype: MediaType = None):
""" """
设置查询参数 设置查询参数

File diff suppressed because one or more lines are too long