获取股票简单数据:腾讯、新浪、东方财富。
1,腾讯的数据显示是用脚本动态改变某个表格的内容。腾讯脚本太多,还没有看出来在哪里能找到规律。
初步想法,把它页面所有的链接都搞出来,去搜索关键字"main-"
2,新浪直接给你一个可访问的网页能获取所有的数据。
上证:
http://hq.sinajs.cn/list=sh600115
深证:
http://hq.sinajs.cn/list=sz002681
3,东方财富网把每个股票的数据搞出来:
东方财富网脚本:http://hqres.eastmoney.com/emag14/js/quote-min.js
“
jQuery.ajax({ url: "http://nuff.eastmoney.com/EM_Finance2015TradeInterface/JS.ashx?id=" + _this._Code + _this._Market + "&token=" + window.token + "&cb=callback" + t,
”
上证:
http://nuff.eastmoney.com/EM_Finance2015TradeInterface/JS.ashx?id=6001151
深证:
http://nuff.eastmoney.com/EM_Finance2015TradeInterface/JS.ashx?id=0026812
页:
[1]