浏览代码

IP被封问题处理

xubo 1 年之前
父节点
当前提交
8f890e7496
共有 1 个文件被更改,包括 2 次插入0 次删除
  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,