perf(douyu): 加速外部协作单账号推荐

This commit is contained in:
yml
2026-11-20 13:58:23 +08:00
parent 4d8f28666c
commit f9f8267d1d
4 changed files with 202 additions and 82 deletions
@@ -588,6 +588,7 @@ def probe_account(
),
with_elite: bool = True,
with_eligibility: bool = False,
with_limited_goods: bool = False,
with_gold: bool = False,
with_goods: bool = False,
with_elite_role: bool = True,
@@ -602,6 +603,7 @@ def probe_account(
[
f"elite={int(with_elite)}",
f"elig={int(with_eligibility)}",
f"limited={int(with_limited_goods)}",
f"gold={int(with_gold)}",
f"goods={int(with_goods)}",
f"role={int(with_elite_role)}",
@@ -734,6 +736,7 @@ def probe_account(
points_response = points_result
except Exception as exc: # noqa: BLE001
errors["points"] = f"{type(exc).__name__}: {_text(exc)}"
if with_eligibility or with_limited_goods:
try:
limited_result = query_limited_goods_result(
active_client,