|
楼主 |
发表于 2021-8-1 15:29
|
显示全部楼层
谢谢,研究了一上午,还没有研究出来,明明已经加过cookie了,但是还是只能获取前30条记录,不知道原因出在哪里?
let
url="https://www.jisilu.cn/data/cbnew/cb_list/?___jsl=LST___t=1627788961010 ",
headers=[#"Content-Type"="application/x-www-form-urlencoded",Cookie="_ga=GA1.2.690178055.1594797259; Hm_lvt_164fe01b1433a19b507595a43bf58262=1624424906,1626445525; kbzw__Session=ljfkjed9skgp5u4fokoh3d16r2
"], //Content-Type必填,如不需要登录Cookie可省略
query=[],
content="fprice=&tprice=&curr_iss_amt=&volume=&svolume=&premium_rt=&ytm_rt=&rating_cd=&is_search=N&market_cd%5B%5D=shmb&market_cd%5B%5D=shkc&market_cd%5B%5D=szmb&market_cd%5B%5D=szcy&btype=&listed=Y&qflag=N&sw_cd=&bond_ids=&rp=50&page=1",
Source=Json.Document(Web.Contents(url,[Headers=headers,Query=query,Content=Text.ToBinary(content)])),
rows = Table.Combine(Table.FromList(Source[rows],each {Table.FromRecords({Record.FieldValues(_){1}})},{"t"})[t])
in
rows
|
|