Explorar o código

IP被封问题处理

xubo hai 1 ano
pai
achega
8f890e7496
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      app.py

+ 2 - 0
app.py

@@ -662,6 +662,7 @@ def process_running_manual(max_threads, pocket_url):
             while True:
                 single_proxy = next(proxy_generator)
                 print(f"当前账号: {account}, 当前代理:{single_proxy}")
+                loggerKit.info(f"当前账号: {account}, 当前代理:{single_proxy}")
                 break
 
             thread = threading.Thread(target=process_account,
@@ -745,6 +746,7 @@ def run_threading_order(max_threads, account_path, url):
                 while True:
                     single_proxy = next(proxy_generator)
                     print(f"当前账号: {account}, 当前代理:{single_proxy}")
+                    loggerKit.info(f"当前账号: {account}, 当前代理:{single_proxy}")
                     break
 
                 thread = threading.Thread(target=get_ticket_order,