mirror of
https://github.com/zhenxun-org/zhenxun_bot.git
synced 2025-12-15 14:22:55 +08:00
Update __init__.py
This commit is contained in:
parent
1dc8cb2a98
commit
09ce812faf
@ -94,7 +94,7 @@ async def _(event: MessageEvent, cmd: Tuple[str, ...] = Command(), arg: Message
|
|||||||
cookie_json = json.loads(cookie)
|
cookie_json = json.loads(cookie)
|
||||||
print(cookie_json)
|
print(cookie_json)
|
||||||
if 'login_ticket' not in cookie_json:
|
if 'login_ticket' not in cookie_json:
|
||||||
await bind.finish("请发送正确的cookie!")
|
await bind.finish("请发送正确完整的cookie!")
|
||||||
login_ticket = cookie_json['login_ticket']
|
login_ticket = cookie_json['login_ticket']
|
||||||
# try:
|
# try:
|
||||||
res = await AsyncHttpx.get(url=bbs_Cookie_url.format(login_ticket))
|
res = await AsyncHttpx.get(url=bbs_Cookie_url.format(login_ticket))
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user