对港股实时数据的解析
找页面,东财的实在太复杂了!
新浪!这个页面还行
https://stock.finance.sina.com.cn/hkstock/quotes/00700.html
实时价格又是js价值的,跟踪,找到
输出结果
/*<script>location.href='//sina.com';</script>*/ var t1hk00700=({"result":{"status":{"code":0},"data":[{"m":"09:30:00","v":"216761","a":"76417148","p":"350.6","avg_p":"352.541"},{"m":"09:31:00","v":"144226","a":"50582386","p":"351","avg_p":"351.812"},{"m":"09:32:00","v":"74061","a":"26032788","p":"351.6","avg_p":"351.76"},{"m":"09:33:00","v":"128513","a":"45228430","p":"352.2","avg_p":"351.8"},{"m":"09:34:00","v":"63311","a":"22294738","p":"352","avg_p":"351.835"},{"m":"09:35:00","v":"47215","a":"16629423","p":"352.4","avg_p":"351.861"},{"m":"09:36:00","v":"71300","a":"25190430","p":"353.6","avg_p":"351.999"},{"m":"09:37:00","v":"116521","a":"41239976","p":"353.8","avg_p":"352.26"},{"m":"09:38:00","v":"58778","a":"20770412","p":"353","avg_p":"352.33"},{"m":"09:39:00","v":"53130","a":"18710260","p":"352","avg_p":"352.321"},{"m":"09:40:00","v":"57305","a":"20157426","p":"351.8","avg_p":"352.29"},{"m":"09:41:00","v":"65250","a":"22964060","p":"352.4","avg_p":"352.269"},{"m":"09:42:00","v":"31400","a":"11057130","p":"352.2","avg_p":"352.265"},
大概是2分钟数据,至少比15分钟的好!