feat: Implement thread-safe account and statistics management and integrate proxy support for all external requests.
This commit is contained in:
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user