|
@@ -13,7 +13,7 @@ class Main:
|
|
|
@classmethod
|
|
|
def main(cls, log_type, env):
|
|
|
while True:
|
|
|
- if 23 >= datetime.datetime.now().hour >= 17:
|
|
|
+ if 8 >= datetime.datetime.now().hour >= 0:
|
|
|
Common.logger(log_type).info('开始抓取"祝福大家好才是真好"\n')
|
|
|
Recommend.start_wechat(log_type, env)
|
|
|
Common.del_logs(log_type)
|