From 817165d7e32408a64dd4c69582f5f627a72a35d4 Mon Sep 17 00:00:00 2001 From: echo Date: Mon, 7 Oct 2024 23:02:38 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A5:fire:=20=E5=BA=9F=E5=BC=83?= =?UTF-8?q?=E8=AF=A5=E8=84=9A=E6=9C=AC=EF=BC=8C=E7=BB=BC=E5=90=88=E5=88=B0?= =?UTF-8?q?"=E5=A5=BD=E6=B8=B8=E5=BF=AB=E7=88=86=E6=B5=87=E6=B0=B4?= =?UTF-8?q?=E7=88=86=E7=B1=B3=E8=8A=B1=E4=BB=BB=E5=8A=A1.py"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- hykb.py | 18 +++++++++--------- hykb_tasks.py | 6 +++--- 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/hykb.py b/hykb.py index 2816583..5efce66 100644 --- a/hykb.py +++ b/hykb.py @@ -246,12 +246,12 @@ class HaoYouKuaiBao: return info -if __name__ == '__main__': - threads = [] - for cookie_ in Hykb_cookie: - hykb = HaoYouKuaiBao(cookie_) - thread = threading.Thread(target=hykb.sgin) - threads.append(thread) - thread.start() - for thread in threads: - thread.join() +# if __name__ == '__main__': +# threads = [] +# for cookie_ in Hykb_cookie: +# hykb = HaoYouKuaiBao(cookie_) +# thread = threading.Thread(target=hykb.sgin) +# threads.append(thread) +# thread.start() +# for thread in threads: +# thread.join() diff --git a/hykb_tasks.py b/hykb_tasks.py index ed46c27..8df907b 100644 --- a/hykb_tasks.py +++ b/hykb_tasks.py @@ -329,6 +329,6 @@ async def main(): await run_all_tasks(hykb_cookie) -if __name__ == '__main__': - asyncio.run(main()) - send_notification_message_collection("好游快爆活动奖励领取通知 - {}".format(datetime.now().strftime("%Y/%m/%d"))) +# if __name__ == '__main__': +# asyncio.run(main()) +# send_notification_message_collection("好游快爆活动奖励领取通知 - {}".format(datetime.now().strftime("%Y/%m/%d")))