fix: 修复B站搜索Field命名 bug

refactor: ping接口统一更换为pong
This commit is contained in:
Relakkes
2023-12-05 22:47:36 +08:00
parent 6ae511bb52
commit a6e877de42
7 changed files with 17 additions and 10 deletions

View File

@@ -63,7 +63,7 @@ class XiaoHongShuCrawler(AbstractCrawler):
# Create a client to interact with the xiaohongshu website.
self.xhs_client = await self.create_xhs_client(httpx_proxy)
if not await self.xhs_client.ping():
if not await self.xhs_client.pong():
login_obj = XHSLogin(
login_type=self.login_type,
login_phone=account_phone,