feat(rousi): 新增分类参数支持以优化搜索功能

This commit is contained in:
PKC278
2026-01-09 23:05:02 +08:00
parent cb3cef70e5
commit aeccf78957
2 changed files with 54 additions and 8 deletions
+2
View File
@@ -217,6 +217,7 @@ class IndexerModule(_ModuleBase):
error_flag, result = RousiSpider(site).search(
keyword=search_word,
mtype=mtype,
cat=cat,
page=page
)
else:
@@ -311,6 +312,7 @@ class IndexerModule(_ModuleBase):
error_flag, result = await RousiSpider(site).async_search(
keyword=search_word,
mtype=mtype,
cat=cat,
page=page
)
else: