本帖最后由 lambilly 于 2024-8-13 21:24 编辑
有一个本地的停车收费系统小程序,用黄鸟抓包后会显示未缴费的清单,用NODE-RED请求结果确是乱码,请大佬指教。具体如下。上述问题已解决;
另有问题请教,获取的数据每天有一组数据。共有几组不定数,如何一次性把它存储到SENSOR或者其中中去?
msg.url = "https://customer.ptyibo.com/api/bill/queryBillRefactor/2?curr=1&limit=10&monthDate=&plate=&plateColor="
msg.headers = {
'Connection': 'keep-alive',
'Content-Type': 'application/x-www-form-urlencoded',
'xweb_xhr': '1',
'authorization': '44a6ffbafc73303d2d39196b28931330',
'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.0.0 Safari/537.36 MicroMessenger/7.0.20.1781(0x6700143B) NetType/WIFI MiniProgramEnv/Windows WindowsWechat/WMPF WindowsWechat(0x63090b19)XWEB/11159',
'deviceType': '1',
'Accept': '*/*',
'Sec-Fetch-Site': 'cross-site',
'Sec-Fetch-Mode': 'cors',
'Sec-Fetch-Dest': 'empty',
'Referer': 'https://servicewechat.com/wxd305a5ead580eb07/109/page-frame.html',
'Accept-Encoding': 'gzip, deflate, br',
'Accept-Language': 'zh-CN,zh;q=0.9'
};
return msg;
|