refactor: xhs update

This commit is contained in:
程序员阿江(Relakkes)
2025-07-21 21:26:16 +08:00
parent 26a43358cb
commit a4d9aaa34a
5 changed files with 44 additions and 78 deletions

View File

@@ -67,7 +67,8 @@ async def main():
def cleanup():
if crawler:
asyncio.run(crawler.close())
# asyncio.run(crawler.close())
pass
if config.SAVE_DATA_OPTION in ["db", "sqlite"]:
asyncio.run(db.close())