mirror of
https://github.com/NanmiCoder/MediaCrawler.git
synced 2026-04-21 11:17:38 +08:00
fix: 修复B站搜索Field命名 bug
refactor: ping接口统一更换为pong
This commit is contained in:
@@ -55,7 +55,8 @@ class KuaiShouClient:
|
||||
return await self.request(method="POST", url=f"{self._host}{uri}",
|
||||
data=json_str, headers=self.headers)
|
||||
|
||||
async def pong(self) -> bool:
|
||||
@staticmethod
|
||||
async def pong() -> bool:
|
||||
"""get a note to check if login state is ok"""
|
||||
utils.logger.info("Begin pong kuaishou...")
|
||||
ping_flag = False
|
||||
|
||||
Reference in New Issue
Block a user