|
请问我用Fiddler抓取的小程序数据,能看到数据了,但是用PQ应该怎么写呢。因为这小程序需要账号登录的,所以我对地址改了下,免得被查到,不好意思了。我需要高手帮我写下如下的格式:
url="",
Headers=[],
Content=""
Web.Contents(url,[Headers=headers,Content=Text.ToBinary(content)])
平时都是用网页抓取的,Content内容都是直接复制过来的。这软件抓取出来后下面是{}的格式,好像转换不了。谢谢大家了,搞了一个下午了,都是参数错误。对了,虽说要登陆,但Cookie的提示信息是“This request did not send any cookie data.”
抓取出来的信息如下:
POST https://tool.******.cn/data/csj/datatablelist HTTP/1.1
Host: tool.******.cn
Connection: keep-alive
Content-Length: 121
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/53.0.2785.143 Safari/537.36 MicroMessenger/7.0.9.501 NetType/WIFI MiniProgramEnv/Windows WindowsWechat
content-type: application/json
Referer: https://servicewechat.com/wx155a07475f8ffb49/212/page-frame.html
Accept-Encoding: gzip, deflate, br
{"user_id":"gkzzd_3L96Jd0gtF4KeS","login_code":"NYQtJy","table_id":859,"submitData":{},"content":"","page":13,"limit":50}
拜托了。
|
|