def main(): conn_baixing = RedisClient('accounts', 'baixing') conn_youxin = RedisClient('accounts', 'youxin') conn_baixing.set('18721918121', '1234567') conn_youxin.set('youxin001', '1234567') s = Scheduler() s.run()
def main(): while True: confirm = input("是否需要导入账号?(Y,n)") if confirm.lower() == 'y' or confirm.lower() == 'n': if confirm == 'y': confirm = True break else: confirm = False break print('input error! try again...') if confirm: flag = input('是否自动扫描account.txt Y/N: ').lower() if flag == 'n': flag = False else: flag = True importer.main(auto_Scan=flag) else: s = Scheduler() s.run()
def main(): s = Scheduler() s.run()
def main(): s = Scheduler() # 运行git测试 s.run()
def main(fp): set_robo_account(fp) s = Scheduler() s.run()
def start(generate=None, valid=None, api=None): Cookies.if_stop.value = False s = Scheduler() p = Process(target=s.run, args=(Cookies.if_stop, generate, valid, api)) p.start()