|
输入以下代码吧,一定可以的,需要改时间只需将数字365改为180或90
- let
- url="https://goodinfo.tw/tw/ShowBuySaleChart.asp",
- headers=[#"Content-Type"="application/x-www-form-urlencoded;",Referer="https://goodinfo.tw/tw/ShowBuySaleChart.asp?STOCK_ID=2330&CHT_CAT=DATE"],
- content="STOCK_ID=2330&CHT_CAT=DATE&SHEET=三大法人買賣張數&STEP=DATA&PERIOD=365",
- web=Web.Page(Text.FromBinary(Web.Contents(url,[Headers=headers,Content=Text.ToBinary(content)]))),
- Data = web{0}[Data],
- 筛选的行 = Table.SelectRows(Data, each not Text.Contains([期別], "期別"))
- in
- 筛选的行
复制代码 |
|