Browse Source

新框架 bug 暂停

罗俊辉 1 year ago
parent
commit
8b2edb4562
1 changed files with 2 additions and 1 deletions
  1. 2 1
      app/main.py

+ 2 - 1
app/main.py

@@ -84,7 +84,8 @@ async def main():
     主函数
     """
     spider_list = TopicGroup().produce()
-    # while spider_list:
+    while spider_list:
+        print("Hello World {}".format(" ".join(spider_list)))
     #     async_tasks = []
     #     for spider in spider_list:
     #         task = asyncio.create_task(consume_single_message(spider))