feat: Implement thread-safe account and statistics management and integrate proxy support for all external requests.

This commit is contained in:
2026-02-13 03:32:27 +08:00
parent 1c58279292
commit ef23318090
12 changed files with 1041 additions and 84 deletions

View File

@@ -2,7 +2,7 @@ import uuid
import random
from curl_cffi import requests # 用于模拟指纹
from config import STRIPE_PK
from config import STRIPE_PK, get_proxy
from identity import random_address, random_name
@@ -77,7 +77,7 @@ class StripeTokenizer:
try:
print(f"[*] 正在向 Stripe 请求 Token: {cc_num[:4]}******{cc_num[-4:]}")
resp = requests.post(url, data=data, headers=headers, impersonate="chrome124")
resp = requests.post(url, data=data, headers=headers, impersonate="chrome124", proxies=get_proxy())
if resp.status_code == 200:
pm_id = resp.json().get("id")