add booking job to scheduler

This commit is contained in:
2022-07-25 09:44:37 +02:00
parent 67a98fc248
commit 418699635e
2 changed files with 11 additions and 5 deletions
+1 -1
View File
@@ -61,5 +61,5 @@ def get_proxy(proxy_type=ProxyType.BRIGHT_DATA):
if __name__ == '__main__':
# 修改联系人行,结束联系人行 第三个参数store等于0的时候是随机,传入1的时候是总店
start_book(1, 20, store_choose_state=1, mode=ModeEnum.AUTOMATIC, headless=False)
start_book(901, 1200, store_choose_state=1, mode=ModeEnum.AUTOMATIC, headless=True)
# recheck_the_captcha_error_contacts(store_type=1, mode=ModeEnum.AUTOMATIC, on_no_contact_found=lambda: None)