zhangyong 1 month ago
parent
commit
4fed1b1400
1 changed files with 2 additions and 4 deletions
  1. 2 4
      workers/consumption_spider_work.py

+ 2 - 4
workers/consumption_spider_work.py

@@ -90,7 +90,5 @@ async def run():
 
 
 if __name__ == '__main__':
 if __name__ == '__main__':
     # asyncio.run(ConsumptionSpiderRecommend.run())
     # asyncio.run(ConsumptionSpiderRecommend.run())
-    # loop = asyncio.get_event_loop()
-    # loop.run_until_complete(run())
-    title = ConsumptionSpiderRecommend.judgment_time("🔴早上好❗2月13号的第一声问候,送给亲爱的你")
-    print(title)
+    loop = asyncio.get_event_loop()
+    loop.run_until_complete(run())