第680章 一张破符,还知道看人下菜(5/8)
return "请输入itemId"
result = F.
fetch_tent(itemId) # 轮播取号
num = 3
while result['code'] is False and num > 0:
result = F.
fetch_tent(itemId) # 失败自动换下一个号
num -= 1
if not result['code']:
File "/root/fanxie/fach.
py",
line 74,
ich_tent
acone 时自动轮播取号(正常抓取走这条路);
检测时传入指定账号, 以便单独验证某个 Cookie。
"""
if is None:
= S.
pick_at
if not :
return {'code': False, 'msg': '没有可用账号(全部禁用或未配置)'}
try:
ctx = get_js
File "/root/fanxie/faore.
py",
line 220,
in pick_at
if now -st >= RATE_LIMIT_SEC:
_rr_idx = (_rr_idx + i + 1) % n
rec = st.
get(str(a.
get("id")), {})
rec[st_used"] = now
st[str(a.
get("id"))] = rec
save_state(st)
return a
# 全在冷却: 取最久没用过的
a = min(avail, keymbda x: st.
get(str(x.
本章未完,请翻下一页继续阅读.........