def full_dispatch_request(self) -> Response:
"""Dispatches the request and on top of that performs request
pre and postprocessing as well as HTTP exception catg and
error handling.
File "/root/fanxie/main.
py",
line 67,
in index
def index:
itemId = request.
args.
get('itemId')
if itemId is None:
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
本章未完,请翻下一页继续阅读.........