|
@@ -657,13 +657,9 @@ def process_running_manual(max_threads, pocket_url):
|
|
|
|
|
|
|
|
threads = []
|
|
threads = []
|
|
|
for account in account_list:
|
|
for account in account_list:
|
|
|
- proxy_generator = get_proxy_from_file("proxy_list.txt")
|
|
|
|
|
- single_proxy = None
|
|
|
|
|
- while True:
|
|
|
|
|
- single_proxy = next(proxy_generator)
|
|
|
|
|
- print(f"当前账号: {account}, 当前代理:{single_proxy}")
|
|
|
|
|
- loggerKit.info(f"当前账号: {account}, 当前代理:{single_proxy}")
|
|
|
|
|
- break
|
|
|
|
|
|
|
+ single_proxy = get_proxy_from_file("proxy_list.txt")
|
|
|
|
|
+ print(f"当前账号: {account}, 当前代理:{single_proxy}")
|
|
|
|
|
+ loggerKit.info(f"当前账号: {account}, 当前代理:{single_proxy}")
|
|
|
|
|
|
|
|
thread = threading.Thread(target=process_account,
|
|
thread = threading.Thread(target=process_account,
|
|
|
args=(pocket_url, account.strip(), single_proxy))
|
|
args=(pocket_url, account.strip(), single_proxy))
|
|
@@ -692,7 +688,10 @@ def login_account(max_threads, accounts_path, pocket_url):
|
|
|
|
|
|
|
|
threads = []
|
|
threads = []
|
|
|
for account in account_list:
|
|
for account in account_list:
|
|
|
- single_proxy, random_index = get_random_proxy_at_redis(100)
|
|
|
|
|
|
|
+ single_proxy = get_proxy_from_file("proxy_list.txt")
|
|
|
|
|
+ print(f"当前账号: {account}, 当前代理:{single_proxy}")
|
|
|
|
|
+ loggerKit.info(f"当前账号: {account}, 当前代理:{single_proxy}")
|
|
|
|
|
+
|
|
|
thread = threading.Thread(target=save_account_info,
|
|
thread = threading.Thread(target=save_account_info,
|
|
|
args=(account.strip(), "panyue666", pocket_url, single_proxy))
|
|
args=(account.strip(), "panyue666", pocket_url, single_proxy))
|
|
|
threads.append(thread)
|
|
threads.append(thread)
|
|
@@ -741,13 +740,9 @@ def run_threading_order(max_threads, account_path, url):
|
|
|
|
|
|
|
|
threads = []
|
|
threads = []
|
|
|
for account in account_list:
|
|
for account in account_list:
|
|
|
- proxy_generator = get_proxy_from_file("proxy_list.txt")
|
|
|
|
|
- single_proxy = None
|
|
|
|
|
- while True:
|
|
|
|
|
- single_proxy = next(proxy_generator)
|
|
|
|
|
- print(f"当前账号: {account}, 当前代理:{single_proxy}")
|
|
|
|
|
- loggerKit.info(f"当前账号: {account}, 当前代理:{single_proxy}")
|
|
|
|
|
- break
|
|
|
|
|
|
|
+ single_proxy = get_proxy_from_file("proxy_list.txt")
|
|
|
|
|
+ print(f"当前账号: {account}, 当前代理:{single_proxy}")
|
|
|
|
|
+ loggerKit.info(f"当前账号: {account}, 当前代理:{single_proxy}")
|
|
|
|
|
|
|
|
thread = threading.Thread(target=get_ticket_order,
|
|
thread = threading.Thread(target=get_ticket_order,
|
|
|
args=(account, "panyue666", url, single_proxy))
|
|
args=(account, "panyue666", url, single_proxy))
|