diff --git a/main.py b/main.py index 4402986..923b033 100644 --- a/main.py +++ b/main.py @@ -78,7 +78,7 @@ def start_book(start_slot_number, end_slot_number, store=0): contacts = excel_reader.read_contacts() global current_sim_position current_sim_position = 0 - with ThreadPoolExecutor(max_workers=5) as executor: + with ThreadPoolExecutor(max_workers=10) as executor: for modem in modem_list: current_sim_position = current_sim_position + 1 try: @@ -123,4 +123,4 @@ def get_proxy(phone_number): if __name__ == '__main__': # 修改起始行,结束行, 第三个参数store等于0的时候是随机,传入1的时候是总店 - start_book(3, 3, store=0) + start_book(32, 32, store=0)