Open nanweiqing opened 6 months ago
你好,我小爱型号是LX04,在调用最近对话记录报如下错误 : 代码处: r = await session.get( LATEST_ASK_API.format( hardware=hardware, timestamp=str(int(time.time()* 1000)) ), cookies=parse_cookie_string(cookie)) chatmsg=await r.json() 错误: <ClientResponse(https://userprofile.mina.mi.com/device_profile/v2/conversation?source=dialogu&hardware=LX04×tamp=1703089126009&limit=2) [401 None]>
message='Attempt to decode JSON with unexpected mimetype: text/html;charset=utf-8'
你这个是登陆没成功。
你好,我小爱型号是LX04,在调用最近对话记录报如下错误 : 代码处: r = await session.get( LATEST_ASK_API.format( hardware=hardware, timestamp=str(int(time.time()* 1000)) ), cookies=parse_cookie_string(cookie)) chatmsg=await r.json() 错误: <ClientResponse(https://userprofile.mina.mi.com/device_profile/v2/conversation?source=dialogu&hardware=LX04×tamp=1703089126009&limit=2) [401 None]>
message='Attempt to decode JSON with unexpected mimetype: text/html;charset=utf-8'