fix: xhs sub comment bugfix #769

This commit is contained in:
程序员阿江(Relakkes)
2025-11-17 11:47:33 +08:00
parent b6caa7a85e
commit a1c5e07df8
2 changed files with 55 additions and 39 deletions

View File

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