|
[广告] Excel易用宝 - 提升Excel的操作效率 · Excel / WPS表格插件 ★ 免费下载 ★ ★ 使用帮助★
以下网页数据如何抓取?
http://vip.stock.finance.sina.co ... amp;symbol=sz002915
这种又是一种新情况,练习了几个常用网站数据抓取,这种数据格式不是很懂怎么抓?
请高手出手相助,谢谢赐教
数据格式如下(部分):
var trade_item_list = new Array(); trade_item_list[0] = new Array('15:00:03', '49200', '18.670', 'EQUAL'); trade_item_list[1] = new Array('14:57:00', '2100', '18.670', 'UP'); trade_item_list[2] = new Array('14:56:57', '100', '18.670', 'UP'); trade_item_list[3] = new Array('14:56:54', '2100', '18.670', 'DOWN'); trade_item_list[4] = new Array('14:56:51', '1000', '18.670', 'DOWN'); trade_item_list[5] = new Array('14:56:48', '2200', '18.670', 'DOWN'); trade_item_list[6] = new Array('14:56:45', '5500', '18.670', 'UP'); trade_item_list[7] = new Array('14:56:42', '2600', '18.660', 'DOWN'); trade_item_list[8] = new Array('14:56:39', '4100', '18.660', 'DOWN'); trade_item_list[9] = new Array('14:56:33', '1900', '18.670', 'UP'); trade_item_list[10] = new Array('14:56:30', '1500', '18.660', 'DOWN'); trade_item_list[11] = new Array('14:56:24', '2500', '18.670', 'DOWN'); trade_item_list[12] = new Array('14:56:18', '400', '18.660', 'DOWN'); trade_item_list[13] = new Array('14:56:09', '300', '18.680', 'UP'); trade_item_list[14] = new Array('14:56:06', '800', '18.660', 'DOWN'); trade_item_list[15] = new Array('14:55:57', '100', '18.660', 'EQUAL'); trade_item_list[16] = new Array('14:55:54', '3000', '18.680', 'UP'); trade_item_list[17] = new Array('14:55:51', '700', '18.660', 'DOWN'); trade_item_list[18] = new Array('14:55:48', '100', '18.660', 'DOWN'); trade_item_list[19] = new Array('14:55:45', '1600', '18.660', 'DOWN'); trade_item_list[20] = new Array('14:55:42', '2000', '18.670', 'UP'); trade_item_list[21] = new Array('14:55:39', '4200', '18.660', 'DOWN'); trade_item_list[22] = new Array('14:55:36', '800', '18.670', 'UP'); trade_item_list[23] = new Array('14:55:33', '5100', '18.660', 'DOWN'); trade_item_list[24] = new Array('14:55:30', '400', '18.660', 'DOWN'); trade_item_list[25] = new Array('14:55:27', '1200', '18.660', 'DOWN'); trade_item_list[26] = new Array('14:55:24', '400', '18.660', 'DOWN'); trade_item_list[27] = new Array('14:55:21', '2200', '18.660', 'DOWN'); trade_item_list[28] = new Array('14:55:15', '6800', '18.670', 'DOWN'); trade_item_list[29] = new Array('14:55:12', '1000', '18.670', 'DOWN'); trade_item_list[30] = new Array('14:55:09', '4600', '18.680', 'UP'); trade_item_list[31] = new Array('14:55:06', '500', '18.670', 'DOWN'); trade_item_list[32] = new Array('14:55:00', '5500', '18.670', 'DOWN'); trade_item_list[33] = new Array('14:54:57', '700', '18.680', 'UP'); trade_item_list[34] = new Array('14:54:54', '500', '18.680', 'UP'); trade_item_list[35] = new Array('14:54:51', '2500', '18.680', 'UP'); trade_item_list[36] = new Array('14:54:48', '500', '18.670', 'DOWN'); trade_item_list[37] = new Array('14:54:45', '1000', '18.670', 'DOWN'); trade_item_list[38] = new Array('14:54:39', '300', '18.670', 'DOWN'); trade_item_list[39] = new Array('14:54:36', '600', '18.680', 'EQUAL'); trade_item_list[40] = new Array('14:54:33', '2500', '18.670', 'DOWN'); trade_item_list[41] = new Array('14:54:30', '3500', '18.680', 'DOWN'); trade_item_list[42] = new Array('14:54:27', '100', '18.680', 'DOWN'); trade_item_list[43] = new Array('14:54:24', '1100', '18.680', 'DOWN'); trade_item_list[44] = new Array('14:54:21', '1200', '18.680', 'UP'); trade_item_list[45] = new Array('14:54:18', '1500', '18.670', 'DOWN'); trade_item_list[46] = new Array('14:54:15', '2200', '18.680', 'UP'); trade_item_list[47] = new Array('14:54:06', '200', '18.670', 'DOWN'); |
|