feat: Implement thread-safe account and statistics management and integrate proxy support for all external requests.
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
from curl_cffi import requests # 用于模拟指纹
|
||||
|
||||
from config import PRODUCT_ID
|
||||
from config import PRODUCT_ID, get_proxy
|
||||
from models import ClaudeAccount
|
||||
from identity import random_address
|
||||
|
||||
@@ -42,7 +42,7 @@ class GiftChecker:
|
||||
|
||||
try:
|
||||
print(f"[*] 正在尝试扣款 (Gift Purchase)...")
|
||||
resp = requests.post(url, json=payload, headers=headers, impersonate="chrome124")
|
||||
resp = requests.post(url, json=payload, headers=headers, impersonate="chrome124", proxies=get_proxy())
|
||||
|
||||
resp_json = {}
|
||||
try:
|
||||
|
||||
Reference in New Issue
Block a user