请哪位老师指点下如何构建下面这个页面的请求, 我是个新手, 还请包涵
http://www.sse.com.cn/assortment/stock/areatrade/area/detail.shtml?AREANAME=2
我写的代码如下:
let
url = "http://query.sse.com.cn/commonQuery.do?&jsonCallBack=jsonpCallback97061&isPagination=false&sqlId=COMMON_SSE_GP_SJTJ_DQHYFL_ADQFL_MX_L&areaname=2&_=1588303208749",
headers = [Cookie = yfx_c_g_u_id_10000042=_ck20032318483317775311077916017; VISITED_COMPANY_CODE=%5B%22601118%22%2C%22600968%22%5D; VISITED_STOCK_CODE=%5B%22601118%22%2C%22600968%22%5D; VISITED_MENU=%5B%228466%22%2C%228536%22%2C%228537%22%2C%228535%22%2C%229055%22%5D; yfx_f_l_v_t_10000042=f_t_1584960513687__r_t_1588301561018__v_t_1588303208041__r_c_1]
referer = http://www.sse.com.cn/assortment/stock/areatrade/area/detail.shtml?AREANAME=2,
wodata = Web.Contents(url, [Headers = headers, Referer=referer]),
result = Json.Document(Text.BetweenDelimiters(
Text.FromBinary(
wodata,0
),
"(",")"
))
in
result