很多同学可能听说用python进行网上爬虫,今天给大家带来的是利用matlab爬虫。不需任何基础,意在给大家一种自己动手抓包的体验。
clc;
clear;
warning off;
year=2015;
for season = 1:4
fprintf('抓取%d年%d季度的数据中...', year, season)
[sourcefile, status] = urlread(sprintf('http://vip.stock.finance.sina.com.cn/corp/go.php/vMS_MarketHistory/stockid/000001/type/S.phtml?year=%d&season=%d', year));
if ~status%判断数据是否全部读取成功
error('出问题了哦,请检查\n')
end
expr1 = '\s+(\d\d\d\d-\d\d-\d\d)\s*'; %要提取的模式,()中为要提取的内容
[datefile, date_tokens]= regexp(sourcefile, expr1, 'match', 'tokens'); %match返回整个匹配类型,token返回()标记的位置,都为元胞类型
date = cell(size(date_tokens));%创建一个等大的元胞数组
for idx = 1:length(date_tokens)
date{idx} = date_tokens{idx}{1}; %将日期写入
end
expr2 = '(\d*\.?\d*)';
[datafile, data_tokens] = regexp(sourcefile, expr2, 'match', 'tokens'); %从源文件中获取目标数据
data = zeros(size(data_tokens));%产生和数据相同长度的0
for idx = 1:length(data_tokens)
data(idx) = str2double(data_tokens{idx}{1}); %转变数据类型后存入data中
end
data = reshape(data, 6, length(data)/6 )'; %重排,根据源代码的显示,将不同定义的数据排成六列
items={'日期' '开盘价' '最高价' '收盘价' '最低价' '交易量' '交易金额'};
sheet = sprintf('第%d季度', season); %工作表名称
xlswrite('D:/data', items, sheet)
xlswrite('D:/data', date' , sheet,'A2'); %在第一列写入日期
range = sprintf('B2:%s%d',char(double('B')+size(data,2)-1), size(data,1)+1); %从源文件中获取的目标数据的放置范围
xlswrite('D:/data', data, sheet, range);
fprintf('完成!\n')
end
fprintf('全部完成!数据保存在D盘的data表格中,请注意查看!\n')
3.静静地等待,提示完成后,打开D盘的data表格,查看你的成果吧。
有好奇心的同学,可能还想探索一下具体的工作机制,这可能就需要下苦工了,有以下几点建议
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>上证综合指数(000001)_历史交易_新浪网title>
<meta name="Keywords" content="上证综合指数,000001,行情" />
<meta name="Description" content="上证综合指数的实时行情" />
<link media="all" rel="stylesheet" href="/corp/view/css/style.css" />
<link media="all" rel="stylesheet" href="/corp/view/css/newstyle.css" />
<link media="all" rel="stylesheet" href="/corp/view/css/tables.css" />
<link media="all" rel="stylesheet" href="/corp/view/css/style4.css" />
<style type="text/css">
body,ul,ol,li,p,h1,h2,h3,h4,h5,h6,form,fieldset,table,td,img,div{margin:0;padding:0;border:0;}
body,ul,ol,li,p,form,fieldset,table,td{font-family:"宋体";}
body{background:#fff;color:#000;}
td,p,li,select,input,textarea,div{font-size:12px;}
ul{list-style-type:none;}
select,input{vertical-align:middle; padding:0; margin:0;}
.f14 {font-size:14px;}
.lh20 {line-height:20px;}
.lh23{line-height:23px;}
.b1{border:1px #fcc solid;}
a{text-decoration: underline;color:#009}
a:visited{color:#333333;}
a:hover{color:#f00;}
.f14links{line-height:23px;}
.f14links,.f14links a{font-size:14px;color:#009;}
.f14links a:hover{color:#F00;}
.f14links li{padding-left:13px;background:url(http://image2.sina.com.cn/dy/legal/2006index/news_law_hz_012.gif) no-repeat 3px 45%;}
.clearit{clear:both;font-size:0;line-height:0;height:0;}
.STYLE2 {font-size: 14px; font-weight: bold; }
/*杜邦分析用到的css begin*/
.bottom_line {border-bottom:1px solid #999999}
.f14 {font-size:14px}
.f12 {font-size:12px}
.l15{line-height:150%}
.l13{line-height:130%}
.lh19{line-height:19px;}
/*杜邦分析用到的css end*/
style>
<script language="javascript" type="text/javascript">
script>
<script type="text/javascript" src="/corp/view/js/all.js">script>
<script type="text/javascript" src="/corp/view/js/tables.js">script>
<script type="text/javascript" src="http://finance.sina.com.cn/iframe/hot_stock_list.js">script>
<script type="text/javascript" src="http://hq.sinajs.cn/list=sh000001,s_sh000001,s_sh000300,s_sz399001,s_sz399106,s_sz395099">script>
<script type="text/javascript" src="http://image2.sina.com.cn/home/sinaflash.js">script>
<script type="text/javascript" src="/corp/view/js/corp_fenshi_zs.js">script>
head>
<body>
<div id="wrap">
<style type="text/css">
.secondaryHeader{height:33px;overflow:hidden;background:url(http://i2.sinaimg.cn/dy/images/header/2008/standardl2nav_bg.gif) repeat-x #fff;color:#000;font-size:12px;font-weight:100;}
.secondaryHeader a,.secondaryHeader a:visited{color:#000;text-decoration:none;}
.secondaryHeader a:hover,.secondaryHeader a:active{color:#c00;text-decoration:underline;}
.sHBorder{border:1px #e3e3e3 solid;padding:0 10px 0 12px;overflow:hidden;zoom:1;}
.sHLogo{float:left;height:31px;line-height:31px;overflow:hidden;}
.sHLogo span,.sHLogo span a,.sHLogo span a:link,.sHLogo span a:visited,.sHLogo span a:hover{display:block;*float:left;display:table-cell;vertical-align:middle;*display:block;*font-size:27px;*font-family:Arial;height:31px;}
.sHLogo span,.sHLogo span a img,.sHLogo span a:link img,.sHLogo span a:visited img,.sHLogo span a:hover img{vertical-align:middle;}
.sHLinks{float:right;line-height:31px;}
#level2headerborder{background:#fff; height:5px; overflow:hidden; clear:both; width:950px;}
style>
<div id="level2headerborder">div>
<div class="secondaryHeader">
<div class="sHBorder">
<div class="sHLogo"><span><a href="http://www.sina.com.cn/"><img src="http://i1.sinaimg.cn/dy/images/header/2009/standardl2nav_sina_new.gif" alt="新浪网" />a><a href="http://finance.sina.com.cn/"><img src="http://i1.sinaimg.cn/dy/images/header/2009/standardl2nav_finance.gif" alt="新浪财经" />a>span>div>
<div class="sHLinks"><a href="http://finance.sina.com.cn/">财经首页a> | <a href="http://www.sina.com.cn/">新浪首页a> | <a href="http://news.sina.com.cn/guide/">新浪导航a>div>
div>
div>
<div id="level2headerborder">div>
<div style="float:left; width:950px;">
<div style="float:left; width:750px; height:90px;">
<iframe marginheight="0" marginwidth="0" src="http://finance.sina.com.cn/iframe/ad/PDPS000000004094.html" frameborder="0" height="90" scrolling="no" width="750">iframe>
div>
<div style="float:right;width:188px; height:88px; border:1px solid #DEDEDE;">
<ul>
<li style="background:url(http://www.sinaimg.cn/bb/article/con_ws_001.gif);line-height:15px;text-align:center;color:#F00">热点推荐li>
<li style="line-height:20px; margin-top:5px;">·<a href="http://vip.stock.finance.sina.com.cn/portfolio/main.php" style="color:#F00">自选股-轻松管理您的千只股票a>li>
<li style="line-height:20px;">·<a href="http://finance.sina.com.cn/money/mall.shtml">金融e路通-理财投资更轻松a>li>
<li style="line-height:20px;">·<a href="http://biz.finance.sina.com.cn/hq/">行情中心-通往财富之门a>li>
ul>
div>
<div style="clear:both">div>
div>
<div class="HSpace-1-5">div>
<div class="nav">
<ul>
<li class="navRedLi"><a href="http://finance.sina.com.cn/" target="_blank">财经首页a>li>
<li id="nav01"><a href="http://finance.sina.com.cn/stock/index.shtml" target="_blank">股票a>li>
<li id="nav02"><a href="http://finance.sina.com.cn/fund/index.shtml" target="_blank">基金a>li>
<li id="nav03"><a href="http://finance.sina.com.cn/stock/roll.shtml" target="_blank">滚动a>li>
<li id="nav04"><a href="http://vip.stock.finance.sina.com.cn/corp/view/vCB_BulletinGather.php" target="_blank">公告a>li>
<li id="nav05"><a href="http://finance.sina.com.cn/column/jsy.html" target="_blank">大盘a>li>
<li id="nav06"><a href="http://finance.sina.com.cn/column/ggdp.html" target="_blank">个股a>li>
<li id="nav07"><a href="http://finance.sina.com.cn/stock/newstock/index.shtml" target="_blank">新股a>li>
<li id="nav08"><a href="http://finance.sina.com.cn/stock/warrant/index.shtml" target="_blank">权证a>li>
<li id="nav09"><a href="http://finance.sina.com.cn/stock/reaserchlist.shtml" target="_blank">报告a>li>
<li id="nav10"><a href="http://finance.sina.com.cn/money/globalindex/index.shtml" target="_blank">环球市场a>li>
<li id="nav11"><a href="http://blog.sina.com.cn/lm/finance/index.html" target="_blank">博客a>li>
<li id="nav12"><a href="http://finance.sina.com.cn/bar/" target="_blank">股票吧a>li>
<li id="nav13"><a href="http://finance.sina.com.cn/stock/hkstock/index.shtml" target="_blank">港股a>li>
<li id="nav14"><a href="http://finance.sina.com.cn/stock/usstock/index.shtml" target="_blank">美股a>li>
<li id="nav15"><a href="http://biz.finance.sina.com.cn/hq/" target="_blank">行情中心a>li>
<li id="nav16"><a href="http://vip.stock.finance.sina.com.cn/portfolio/main.php" target="_blank">自选股a>li>
ul>
div>
<div class="navbtm">
<div class="navbtmblk1"><span id="idxsh000001"><a href="http://finance.sina.com.cn/realstock/company/sh000001/nc.shtml" target="_blank">上证指数a>: 0000.00 0.00 00.00亿元span> | <span id="idxsz399001"><a href="http://finance.sina.com.cn/realstock/company/sz399001/nc.shtml" target="_blank">深圳成指a>: 0000.00 0.00 00.00亿元span> | <span id="idxsh000300"><a href="http://finance.sina.com.cn/realstock/company/sh000300/nc.shtml" target="_blank">沪深300a>: 0000.00 0.00 00.00亿元span>div>
<div class="navbtmmaquee">
<script type="text/javascript" src="http://finance.sina.com.cn/286/20061129/3.js">script>
<script type="text/javascript" language="javascript">
script>
div>
div>
<div class="HSpace-1-6">div>
<div id="main">
<div id="left">
<div class="LBlk01">
<ul class="LTab01">
<li class="Menu01On" id="m01-0">最近访问股li>
<li class="Menu01Off" id="m01-1">我的自选股li>
ul>
<div id="con01-0">div>
<div id="con01-1" style="display:none;">div>
div>
<div class="HSpace-1-10">div>
<div class="Menu-Ti" id="navlf00"><img src="http://www.sinaimg.cn/cj/realstock/image2/finance_in_ws_010.gif" alt="" id="tImg0"/><span class="capname">每日必读span>div>
<div class="Menu-Con" id="item0" style="display:block;">
<table cellspacing="0">
<tr>
<td>·<a href="http://stock.finance.sina.com.cn/" target="_self">股市必察a>td>
<td>·<a href="http://biz.finance.sina.com.cn/stock/company/notice.php?kind=daily" target="_self" class="incolor">每日提示a>td>
tr>
<tr>
<td>·<a href="/corp/go.php/vRPD_QuickView/.phtml" target="_self">公司快报a>td>
<td>·<a href="/corp/go.php/vRPD_NewStockIssue/page/1.phtml" target="_self">新股上市a>td>
tr>
<tr>
<td>·<a href="http://vip.stock.finance.sina.com.cn/q/go.php/vInvestConsult/kind/lhb/index.phtml" target="_self">龙虎榜a>td>
<td>·<a href="http://vip.stock.finance.sina.com.cn/q/go.php/vIR_EndRise/index.phtml" target="_self" class="incolor">每日热股a>td>
tr>
<tr>
<td colspan='2'>·<a href="http://finance.sina.com.cn/realstock/income_statement/2012-06-30/issued_pdate_de_1.html" target="_self" class="incolor">中报速递a>td>
tr>
table>
div>
<div class="Menu-Ti" id="navlf01"><img src="http://www.sinaimg.cn/cj/realstock/image2/finance_in_ws_010.gif" alt="" id="tImg1"/><span class="capname">指数资料span>div>
<div class="Menu-Con" id="item1" style="display:block;">
<table cellspacing="0">
<tr>
<td>·<a href="/corp/go.php/vII_BasicInfo/indexid/000001.phtml" target="_self">基本属性a>td>
<td>·<a href="/corp/go.php/vII_NewestComponent/indexid/000001.phtml" target="_self">最新成分a>td>
tr>
<tr>
<td>·<a href="/corp/go.php/vII_HistoryComponent/indexid/000001.phtml" target="_self">历史成分a>td>
<td>·<a href="http://biz.finance.sina.com.cn/hq/index.php?page=stock_list.php?index=000001" target="_self">指数成分行情a>td>
tr>
<tr>
<td>·<a href="/corp/go.php/vII_BigIssue/indexid/000001.phtml" target="_self">大事记a>td>
<td>·<a href="/corp/go.php/vMS_MarketHistory/stockid/000001/type/S.phtml" target="_self">历史交易a>td>
tr>
table>
div>
<div class="Menu-Ti" id="navlf02"><img src="http://www.sinaimg.cn/cj/realstock/image2/finance_in_ws_010.gif" alt="" id="tImg2"/><span class="capname">选股工具span>div>
<div class="Menu-Con" id="item2" style="display:block;">
<table cellspacing="0">
<tr>
<td>·<a href="http://vip.stock.finance.sina.com.cn/q/go.php/vIR_CustomSearch/index.phtml" target="_self">智能选股a>td>
<td>·<a href="http://biz.finance.sina.com.cn/browser/first.php" target="_self">数据浏览器a>td>
tr>
<tr>
<td colspan="2">·<a href="http://vip.stock.finance.sina.com.cn/moneyflow/" target="_self">主力揭秘a>td>
tr>
table>
div>
div>
<div id="center">
<div class="centerImgBlk">
<div class="toolbartop" id="toolbar">
<div class="tbtb01">
<h1 id="itemName">h1>
<h2><span id="itemMarket">-span> 000001h2>
div>
<div class="tbtb02">
<h3 id="itemCurrent" class="incolor">-h3>
<h4><span class="fRed01" id="itemdiffprice">-span> <span class="fRed01" id="itemDiffpercent">-span>h4>
<h5 id="itemTickettime">-h5>
div>
<div class="tbtb03">
<div class="tbtb0301">昨收盘:<span id="itemPrevious2">-span> 今开盘:<span id="itemOpen2">-span> 最高价:<span class="fRed01" id="itemHigh2">-span> 最低价:<span class="fGreen01" id="itemLow2">-span>div>
<div class="tbtb0302">成交量:<span id="itemVolume2">span>手 成交额:<span id="itemAmount2">span> 指数振幅:<span id="itemRange">span>div>
div>
<div class="sht">
<div class="shtbipt">
<form method="post" id="f" name="iask_f" onSubmit="return S_Finance.constant._suggest(this)" action="http://biz.finance.sina.com.cn/suggest/lookup_n.php" target="_self">
<input type="hidden" name="s" value="1" />
<input type="hidden" name="portnum" id="portnum" value="8081" />
<input type="hidden" name="symbol" id="symbol" />
<input type="hidden" name="market" id="market" />
<input type="hidden" name="locadr" id="locadr" />
<input type="text" id="k" name="q" value="代码/名称/拼音" class="shtbipt01" maxlength="50" autocomplete="off" onClick="javascript:if(this.value=='代码/名称/拼音')this.value='';" /><input type="submit" class="shtbipt02" value="查询" /><input type="button" class="shtbipt03" value="代码检索" onClick="window.open('http://finance.sina.com.cn/stock/lookup.shtml');" />
form>
div>
<h1>
<a href="http://sina.allyes.com/main/adfclick?db=sina&bid=49278,76601,76666&cid=0,0,0&sid=72343&advid=2117&camid=11193&show=ignore&url=http://finance.sina.com.cn/focus/rwtzzl/index.shtml" target="_blank" class="icon1">个股免费咨询a>
<a href="http://comment4.news.sina.com.cn/comment/skin/feedback.html?channel=ly&newsid=177" target="_blank" class="icon2">公司资料意见反馈a>h1>
div>
div>
<div class="nav_menu" style="clear:both;">
<ul class="Ti">
<li class="menu0">指数资料:li>
<li class="menu02Off" id="m02-0"><a href="/corp/go.php/vII_BasicInfo/indexid/000001.phtml">基本属性a>li>
<li class="menu02Off" id="m02-1"><a href="/corp/go.php/vII_NewestComponent/indexid/000001.phtml">最新成分a>li>
<li class="menu02Off" id="m02-2"><a href="/corp/go.php/vII_HistoryComponent/indexid/000001.phtml">历史成分a>li>
<li class="menu02Off" id="m02-3"><a target='_blank' href="http://biz.finance.sina.com.cn/hq/index.php?page=stock_list.php?index=000001">指数成分行情a>li>
<li class="menu02Off" id="m02-4"><a href="/corp/go.php/vII_BigIssue/indexid/000001.phtml">大事记a>li>
<li class="menu02Off" id="m02-4"><a href="/corp/go.php/vMS_MarketHistory/stockid/000001/type/S.phtml">历史交易a>li>
ul>
div><div id="con02-4" class="tagmain">
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="10" class="table2">
<tr>
<td align="left" valign="top">
<form method="get" name="daily" action="">
<select name="year">
<option value="2015" selected>2015option>
<option value="2014" >2014option>
<option value="2013" >2013option>
<option value="2012" >2012option>
<option value="2011" >2011option>
<option value="2010" >2010option>
<option value="2009" >2009option>
<option value="2008" >2008option>
<option value="2007" >2007option>
<option value="2006" >2006option>
<option value="2005" >2005option>
<option value="2004" >2004option>
<option value="2003" >2003option>
<option value="2002" >2002option>
<option value="2001" >2001option>
<option value="2000" >2000option>
<option value="1999" >1999option>
<option value="1998" >1998option>
<option value="1997" >1997option>
<option value="1996" >1996option>
<option value="1995" >1995option>
<option value="1994" >1994option>
<option value="1993" >1993option>
<option value="1992" >1992option>
<option value="1991" >1991option>
<option value="1990" >1990option>
select>
<select name="jidu">
<option value="1" selected>一季度option>
<option value="2" >二季度option>
<option value="3" >三季度option>
<option value="4" >四季度option>
select>
<input type="submit" value="查询">
form>
td>
tr>
table>
<table id="FundHoldSharesTable">
<thead>
<tr>
<th colspan="7">
上证综合指数(000001)<FONT COLOR="blue">FONT>年<FONT COLOR="blue">FONT>季度历史交易
th>
tr>
thead>
<tr class="tr_2">
<td><div align="center"><strong>日期strong>div>td>
<td><div align="center"><strong>开盘价strong>div>td>
<td><div align="center"><strong>最高价strong>div>td>
<td><div align="center"><strong>收盘价strong>div>td>
<td class="tdr"><div align="center"><strong>最低价strong>div>td>
<td class="tdr"><div align="center"><strong>交易量(股)strong>div>td>
<td class="tdr"><div align="center"><strong>交易金额(元)strong>div>td>
tr>
<tr >
<td><div align="center">
<a target='_blank' href='http://vip.stock.finance.sina.com.cn/quotes_service/view/vMS_tradehistory.php?symbol=sh000001&date=2015-03-31'>
2015-03-31 a>
div>td>
<td><div align="center">3822.987div>td>
<td><div align="center">3835.567div>td>
<td><div align="center">3747.899div>td>
<td class="tdr"><div align="center">3737.043div>td>
<td class="tdr"><div align="center">56167603200div>td>
<td class="tdr"><div align="center">721294917632div>td>
tr>
<tr class="tr_2">
<td><div align="center">
<a target='_blank' href='http://vip.stock.finance.sina.com.cn/quotes_service/view/vMS_tradehistory.php?symbol=sh000001&date=2015-03-30'>
2015-03-30 a>
div>td>
<td><div align="center">3710.612div>td>
<td><div align="center">3795.935div>td>
<td><div align="center">3786.568div>td>
<td class="tdr"><div align="center">3710.612div>td>
<td class="tdr"><div align="center">56470233600div>td>
<td class="tdr"><div align="center">692125368320div>td>
tr>
<tr >
<td><div align="center">
<a target='_blank' href='http://vip.stock.finance.sina.com.cn/quotes_service/view/vMS_tradehistory.php?symbol=sh000001&date=2015-03-27'>
2015-03-27 a>
div>td>
<td><div align="center">3686.134div>td>
<td><div align="center">3710.477div>td>
<td><div align="center">3691.096div>td>
<td class="tdr"><div align="center">3656.831div>td>
<td class="tdr"><div align="center">40894515200div>td>
<td class="tdr"><div align="center">509298475008div>td>
tr>
<tr class="tr_2">
<td><div align="center">
<a target='_blank' href='http://vip.stock.finance.sina.com.cn/quotes_service/view/vMS_tradehistory.php?symbol=sh000001&date=2015-03-26'>
2015-03-26 a>
div>td>
<td><div align="center">3641.942div>td>
<td><div align="center">3707.318div>td>
<td><div align="center">3682.095div>td>
<td class="tdr"><div align="center">3615.011div>td>
<td class="tdr"><div align="center">48864720000div>td>
<td class="tdr"><div align="center">619515609088div>td>
tr>
<tr >
<td><div align="center">
<a target='_blank' href='http://vip.stock.finance.sina.com.cn/quotes_service/view/vMS_tradehistory.php?symbol=sh000001&date=2015-03-25'>
2015-03-25 a>
div>td>
<td><div align="center">3680.953div>td>
<td><div align="center">3693.151div>td>
<td><div align="center">3660.727div>td>
<td class="tdr"><div align="center">3634.559div>td>
<td class="tdr"><div align="center">52188633600div>td>
<td class="tdr"><div align="center">645498929152div>td>
tr>
<tr class="tr_2">
<td><div align="center">
<a target='_blank' href='http://vip.stock.finance.sina.com.cn/quotes_service/view/vMS_tradehistory.php?symbol=sh000001&date=2015-03-24'>
2015-03-24 a>
div>td>
<td><div align="center">3692.569div>td>
<td><div align="center">3715.873div>td>
<td><div align="center">3691.410div>td>
<td class="tdr"><div align="center">3600.698div>td>
<td class="tdr"><div align="center">63955468800div>td>
<td class="tdr"><div align="center">754884739072div>td>
tr>
<tr >
<td><div align="center">
<a target='_blank' href='http://vip.stock.finance.sina.com.cn/quotes_service/view/vMS_tradehistory.php?symbol=sh000001&date=2015-03-23'>
2015-03-23 a>
div>td>
<td><div align="center">3640.104div>td>
<td><div align="center">3688.249div>td>
<td><div align="center">3687.728div>td>
<td class="tdr"><div align="center">3635.485div>td>
<td class="tdr"><div align="center">53606284800div>td>
<td class="tdr"><div align="center">661574647808div>td>
tr>
<tr class="tr_2">
<td><div align="center">
<a target='_blank' href='http://vip.stock.finance.sina.com.cn/quotes_service/view/vMS_tradehistory.php?symbol=sh000001&date=2015-03-20'>
2015-03-20 a>
div>td>
<td><div align="center">3587.084div>td>
<td><div align="center">3632.338div>td>
<td><div align="center">3617.318div>td>
<td class="tdr"><div align="center">3569.380div>td>
<td class="tdr"><div align="center">51666166400div>td>
<td class="tdr"><div align="center">651771969536div>td>
tr>
<tr >
<td><div align="center">
<a target='_blank' href='http://vip.stock.finance.sina.com.cn/quotes_service/view/vMS_tradehistory.php?symbol=sh000001&date=2015-03-19'>
2015-03-19 a>
div>td>
<td><div align="center">3576.019div>td>
<td><div align="center">3600.684div>td>
<td><div align="center">3582.271div>td>
<td class="tdr"><div align="center">3546.844div>td>
<td class="tdr"><div align="center">53734662400div>td>
<td class="tdr"><div align="center">612249698304div>td>
tr>
<tr class="tr_2">
<td><div align="center">
<a target='_blank' href='http://vip.stock.finance.sina.com.cn/quotes_service/view/vMS_tradehistory.php?symbol=sh000001&date=2015-03-18'>
2015-03-18 a>
div>td>
<td><div align="center">3510.501div>td>
<td><div align="center">3577.662div>td>
<td><div align="center">3577.301div>td>
<td class="tdr"><div align="center">3503.853div>td>
<td class="tdr"><div align="center">54521715200div>td>
<td class="tdr"><div align="center">617367011328div>td>
tr>
<tr >
<td><div align="center">
<a target='_blank' href='http://vip.stock.finance.sina.com.cn/quotes_service/view/vMS_tradehistory.php?symbol=sh000001&date=2015-03-17'>
2015-03-17 a>
div>td>
<td><div align="center">3469.603div>td>
<td><div align="center">3504.123div>td>
<td><div align="center">3502.847div>td>
<td class="tdr"><div align="center">3459.694div>td>
<td class="tdr"><div align="center">52093952000div>td>
<td class="tdr"><div align="center">601500680192div>td>
tr>
<tr class="tr_2">
<td><div align="center">
<a target='_blank' href='http://vip.stock.finance.sina.com.cn/quotes_service/view/vMS_tradehistory.php?symbol=sh000001&date=2015-03-16'>
2015-03-16 a>
div>td>
<td><div align="center">3391.158div>td>
<td><div align="center">3449.305div>td>
<td><div align="center">3449.305div>td>
<td class="tdr"><div align="center">3377.087div>td>
<td class="tdr"><div align="center">39913241600div>td>
<td class="tdr"><div align="center">479355305984div>td>
tr>
<tr >
<td><div align="center">
<a target='_blank' href='http://vip.stock.finance.sina.com.cn/quotes_service/view/vMS_tradehistory.php?symbol=sh000001&date=2015-03-13'>
2015-03-13 a>
div>td>
<td><div align="center">3359.488div>td>
<td><div align="center">3391.255div>td>
<td><div align="center">3372.911div>td>
<td class="tdr"><div align="center">3352.150div>td>
<td class="tdr"><div align="center">32841014400div>td>
<td class="tdr"><div align="center">374041411584div>td>
tr>
<tr class="tr_2">
<td><div align="center">
<a target='_blank' href='http://vip.stock.finance.sina.com.cn/quotes_service/view/vMS_tradehistory.php?symbol=sh000001&date=2015-03-12'>
2015-03-12 a>
div>td>
<td><div align="center">3314.813div>td>
<td><div align="center">3360.054div>td>
<td><div align="center">3349.323div>td>
<td class="tdr"><div align="center">3300.488div>td>
<td class="tdr"><div align="center">35729510400div>td>
<td class="tdr"><div align="center">407192403968div>td>
tr>
<tr >
<td><div align="center">
<a target='_blank' href='http://vip.stock.finance.sina.com.cn/quotes_service/view/vMS_tradehistory.php?symbol=sh000001&date=2015-03-11'>
2015-03-11 a>
div>td>
<td><div align="center">3289.594div>td>
<td><div align="center">3325.054div>td>
<td><div align="center">3290.900div>td>
<td class="tdr"><div align="center">3278.471div>td>
<td class="tdr"><div align="center">28298553600div>td>
<td class="tdr"><div align="center">327573078016div>td>
tr>
<tr class="tr_2">
<td><div align="center">
<a target='_blank' href='http://vip.stock.finance.sina.com.cn/quotes_service/view/vMS_tradehistory.php?symbol=sh000001&date=2015-03-10'>
2015-03-10 a>
div>td>
<td><div align="center">3289.085div>td>
<td><div align="center">3309.915div>td>
<td><div align="center">3286.068div>td>
<td class="tdr"><div align="center">3277.095div>td>
<td class="tdr"><div align="center">28581756800div>td>
<td class="tdr"><div align="center">329955966976div>td>
tr>
<tr >
<td><div align="center">
<a target='_blank' href='http://vip.stock.finance.sina.com.cn/quotes_service/view/vMS_tradehistory.php?symbol=sh000001&date=2015-03-09'>
2015-03-09 a>
div>td>
<td><div align="center">3224.314div>td>
<td><div align="center">3307.702div>td>
<td><div align="center">3302.408div>td>
<td class="tdr"><div align="center">3198.370div>td>
<td class="tdr"><div align="center">32149542400div>td>
<td class="tdr"><div align="center">359927513088div>td>
tr>
<tr class="tr_2">
<td><div align="center">
<a target='_blank' href='http://vip.stock.finance.sina.com.cn/quotes_service/view/vMS_tradehistory.php?symbol=sh000001&date=2015-03-06'>
2015-03-06 a>
div>td>
<td><div align="center">3248.036div>td>
<td><div align="center">3266.933div>td>
<td><div align="center">3241.187div>td>
<td class="tdr"><div align="center">3234.533div>td>
<td class="tdr"><div align="center">28291577600div>td>
<td class="tdr"><div align="center">328344141824div>td>
tr>
<tr >
<td><div align="center">
<a target='_blank' href='http://vip.stock.finance.sina.com.cn/quotes_service/view/vMS_tradehistory.php?symbol=sh000001&date=2015-03-05'>
2015-03-05 a>
div>td>
<td><div align="center">3264.085div>td>
<td><div align="center">3266.638div>td>
<td><div align="center">3248.476div>td>
<td class="tdr"><div align="center">3221.666div>td>
<td class="tdr"><div align="center">32066358400div>td>
<td class="tdr"><div align="center">373580005376div>td>
tr>
<tr class="tr_2">
<td><div align="center">
<a target='_blank' href='http://vip.stock.finance.sina.com.cn/quotes_service/view/vMS_tradehistory.php?symbol=sh000001&date=2015-03-04'>
2015-03-04 a>
div>td>
<td><div align="center">3264.182div>td>
<td><div align="center">3286.588div>td>
<td><div align="center">3279.533div>td>
<td class="tdr"><div align="center">3250.484div>td>
<td class="tdr"><div align="center">29363952000div>td>
<td class="tdr"><div align="center">346789773312div>td>
tr>
<tr >
<td><div align="center">
<a target='_blank' href='http://vip.stock.finance.sina.com.cn/quotes_service/view/vMS_tradehistory.php?symbol=sh000001&date=2015-03-03'>
2015-03-03 a>
div>td>
<td><div align="center">3317.695div>td>
<td><div align="center">3317.695div>td>
<td><div align="center">3263.052div>td>
<td class="tdr"><div align="center">3260.429div>td>
<td class="tdr"><div align="center">38204460800div>td>
<td class="tdr"><div align="center">441593495552div>td>
tr>
<tr class="tr_2">
<td><div align="center">
<a target='_blank' href='http://vip.stock.finance.sina.com.cn/quotes_service/view/vMS_tradehistory.php?symbol=sh000001&date=2015-03-02'>
2015-03-02 a>
div>td>
<td><div align="center">3332.721div>td>
<td><div align="center">3336.760div>td>
<td><div align="center">3336.285div>td>
<td class="tdr"><div align="center">3298.669div>td>
<td class="tdr"><div align="center">34644566400div>td>
<td class="tdr"><div align="center">410259554304div>td>
tr>
<tr >
<td><div align="center">
<a target='_blank' href='http://vip.stock.finance.sina.com.cn/quotes_service/view/vMS_tradehistory.php?symbol=sh000001&date=2015-02-27'>
2015-02-27 a>
div>td>
<td><div align="center">3296.831div>td>
<td><div align="center">3324.546div>td>
<td><div align="center">3310.303div>td>
<td class="tdr"><div align="center">3291.007div>td>
<td class="tdr"><div align="center">29916371200div>td>
<td class="tdr"><div align="center">335019573248div>td>
tr>
<tr class="tr_2">
<td><div align="center">
<a target='_blank' href='http://vip.stock.finance.sina.com.cn/quotes_service/view/vMS_tradehistory.php?symbol=sh000001&date=2015-02-26'>
2015-02-26 a>
div>td>
<td><div align="center">3222.151div>td>
<td><div align="center">3300.616div>td>
<td><div align="center">3298.359div>td>
<td class="tdr"><div align="center">3202.188div>td>
<td class="tdr"><div align="center">30126387200div>td>
<td class="tdr"><div align="center">334347468800div>td>
tr>
<tr >
<td><div align="center">
<a target='_blank' href='http://vip.stock.finance.sina.com.cn/quotes_service/view/vMS_tradehistory.php?symbol=sh000001&date=2015-02-25'>
2015-02-25 a>
div>td>
<td><div align="center">3256.479div>td>
<td><div align="center">3257.223div>td>
<td><div align="center">3228.843div>td>
<td class="tdr"><div align="center">3215.552div>td>
<td class="tdr"><div align="center">23334809600div>td>
<td class="tdr"><div align="center">265143353344div>td>
tr>
<tr class="tr_2">
<td><div align="center">
<a target='_blank' href='http://vip.stock.finance.sina.com.cn/quotes_service/view/vMS_tradehistory.php?symbol=sh000001&date=2015-02-17'>
2015-02-17 a>
div>td>
<td><div align="center">3230.884div>td>
<td><div align="center">3255.725div>td>
<td><div align="center">3246.906div>td>
<td class="tdr"><div align="center">3230.772div>td>
<td class="tdr"><div align="center">22833262400div>td>
<td class="tdr"><div align="center">263340048384div>td>
tr>
<tr >
<td><div align="center">
<a target='_blank' href='http://vip.stock.finance.sina.com.cn/quotes_service/view/vMS_tradehistory.php?symbol=sh000001&date=2015-02-16'>
2015-02-16 a>
div>td>
<td><div align="center">3206.137div>td>
<td><div align="center">3228.846div>td>
<td><div align="center">3222.363div>td>
<td class="tdr"><div align="center">3195.884div>td>
<td class="tdr"><div align="center">22379742400div>td>
<td class="tdr"><div align="center">265950691328div>td>
tr>
<tr class="tr_2">
<td><div align="center">
<a target='_blank' href='http://vip.stock.finance.sina.com.cn/quotes_service/view/vMS_tradehistory.php?symbol=sh000001&date=2015-02-13'>
2015-02-13 a>
div>td>
<td><div align="center">3186.808div>td>
<td><div align="center">3237.159div>td>
<td><div align="center">3203.827div>td>
<td class="tdr"><div align="center">3182.794div>td>
<td class="tdr"><div align="center">26129043200div>td>
<td class="tdr"><div align="center">293017681920div>td>
tr>
<tr >
<td><div align="center">
<a target='_blank' href='http://vip.stock.finance.sina.com.cn/quotes_service/view/vMS_tradehistory.php?symbol=sh000001&date=2015-02-12'>
2015-02-12 a>
div>td>
<td><div align="center">3157.959div>td>
<td><div align="center">3181.766div>td>
<td><div align="center">3173.416div>td>
<td class="tdr"><div align="center">3134.244div>td>
<td class="tdr"><div align="center">19459230400div>td>
<td class="tdr"><div align="center">229691572224div>td>
tr>
<tr class="tr_2">
<td><div align="center">
<a target='_blank' href='http://vip.stock.finance.sina.com.cn/quotes_service/view/vMS_tradehistory.php?symbol=sh000001&date=2015-02-11'>
2015-02-11 a>
div>td>
<td><div align="center">3145.765div>td>
<td><div align="center">3166.421div>td>
<td><div align="center">3157.704div>td>
<td class="tdr"><div align="center">3139.052div>td>
<td class="tdr"><div align="center">17284009600div>td>
<td class="tdr"><div align="center">210862555136div>td>
tr>
<tr >
<td><div align="center">
<a target='_blank' href='http://vip.stock.finance.sina.com.cn/quotes_service/view/vMS_tradehistory.php?symbol=sh000001&date=2015-02-10'>
2015-02-10 a>
div>td>
<td><div align="center">3090.490div>td>
<td><div align="center">3142.099div>td>
<td><div align="center">3141.593div>td>
<td class="tdr"><div align="center">3084.253div>td>
<td class="tdr"><div align="center">19381713600div>td>
<td class="tdr"><div align="center">225084915712div>td>
tr>
<tr class="tr_2">
<td><div align="center">
<a target='_blank' href='http://vip.stock.finance.sina.com.cn/quotes_service/view/vMS_tradehistory.php?symbol=sh000001&date=2015-02-09'>
2015-02-09 a>
div>td>
<td><div align="center">3063.510div>td>
<td><div align="center">3119.034div>td>
<td><div align="center">3095.124div>td>
<td class="tdr"><div align="center">3049.111div>td>
<td class="tdr"><div align="center">20610838400div>td>
<td class="tdr"><div align="center">240719675392div>td>
tr>
<tr >
<td><div align="center">
<a target='_blank' href='http://vip.stock.finance.sina.com.cn/quotes_service/view/vMS_tradehistory.php?symbol=sh000001&date=2015-02-06'>
2015-02-06 a>
div>td>
<td><div align="center">3120.090div>td>
<td><div align="center">3129.539div>td>
<td><div align="center">3075.907div>td>
<td class="tdr"><div align="center">3052.939div>td>
<td class="tdr"><div align="center">24674966400div>td>
<td class="tdr"><div align="center">266502782976div>td>
tr>
<tr class="tr_2">
<td><div align="center">
<a target='_blank' href='http://vip.stock.finance.sina.com.cn/quotes_service/view/vMS_tradehistory.php?symbol=sh000001&date=2015-02-05'>
2015-02-05 a>
div>td>
<td><div align="center">3251.212div>td>
<td><div align="center">3251.212div>td>
<td><div align="center">3136.531div>td>
<td class="tdr"><div align="center">3135.819div>td>
<td class="tdr"><div align="center">30613929600div>td>
<td class="tdr"><div align="center">348266954752div>td>
tr>
<tr >
<td><div align="center">
<a target='_blank' href='http://vip.stock.finance.sina.com.cn/quotes_service/view/vMS_tradehistory.php?symbol=sh000001&date=2015-02-04'>
2015-02-04 a>
div>td>
<td><div align="center">3212.822div>td>
<td><div align="center">3238.982div>td>
<td><div align="center">3174.126div>td>
<td class="tdr"><div align="center">3171.144div>td>
<td class="tdr"><div align="center">24909808000div>td>
<td class="tdr"><div align="center">290155167744div>td>
tr>
<tr class="tr_2">
<td><div align="center">
<a target='_blank' href='http://vip.stock.finance.sina.com.cn/quotes_service/view/vMS_tradehistory.php?symbol=sh000001&date=2015-02-03'>
2015-02-03 a>
div>td>
<td><div align="center">3156.086div>td>
<td><div align="center">3207.935div>td>
<td><div align="center">3204.907div>td>
<td class="tdr"><div align="center">3129.732div>td>
<td class="tdr"><div align="center">24819216000div>td>
<td class="tdr"><div align="center">283355938816div>td>
tr>
<tr >
<td><div align="center">
<a target='_blank' href='http://vip.stock.finance.sina.com.cn/quotes_service/view/vMS_tradehistory.php?symbol=sh000001&date=2015-02-02'>
2015-02-02 a>
div>td>
<td><div align="center">3148.136div>td>
<td><div align="center">3175.134div>td>
<td><div align="center">3128.300div>td>
<td class="tdr"><div align="center">3122.572div>td>
<td class="tdr"><div align="center">25086163200div>td>
<td class="tdr"><div align="center">266849959936div>td>
tr>
<tr class="tr_2">
<td><div align="center">
<a target='_blank' href='http://vip.stock.finance.sina.com.cn/quotes_service/view/vMS_tradehistory.php?symbol=sh000001&date=2015-01-30'>
2015-01-30 a>
div>td>
<td><div align="center">3273.747div>td>
<td><div align="center">3288.503div>td>
<td><div align="center">3210.363div>td>
<td class="tdr"><div align="center">3210.308div>td>
<td class="tdr"><div align="center">25831254400div>td>
<td class="tdr"><div align="center">284265644032div>td>
tr>
<tr >
<td><div align="center">
<a target='_blank' href='http://vip.stock.finance.sina.com.cn/quotes_service/view/vMS_tradehistory.php?symbol=sh000001&date=2015-01-29'>
2015-01-29 a>
div>td>
<td><div align="center">3258.997div>td>
<td><div align="center">3286.786div>td>
<td><div align="center">3262.305div>td>
<td class="tdr"><div align="center">3234.241div>td>
<td class="tdr"><div align="center">27465862400div>td>
<td class="tdr"><div align="center">296424505344div>td>
tr>
<tr class="tr_2">
<td><div align="center">
<a target='_blank' href='http://vip.stock.finance.sina.com.cn/quotes_service/view/vMS_tradehistory.php?symbol=sh000001&date=2015-01-28'>
2015-01-28 a>
div>td>
<td><div align="center">3325.722div>td>
<td><div align="center">3354.802div>td>
<td><div align="center">3305.738div>td>
<td class="tdr"><div align="center">3294.655div>td>
<td class="tdr"><div align="center">30192710400div>td>
<td class="tdr"><div align="center">341564293120div>td>
tr>
<tr >
<td><div align="center">
<a target='_blank' href='http://vip.stock.finance.sina.com.cn/quotes_service/view/vMS_tradehistory.php?symbol=sh000001&date=2015-01-27'>
2015-01-27 a>
div>td>
<td><div align="center">3389.853div>td>
<td><div align="center">3390.216div>td>
<td><div align="center">3352.960div>td>
<td class="tdr"><div align="center">3290.219div>td>
<td class="tdr"><div align="center">37451753600div>td>
<td class="tdr"><div align="center">418298855424div>td>
tr>
<tr class="tr_2">
<td><div align="center">
<a target='_blank' href='http://vip.stock.finance.sina.com.cn/quotes_service/view/vMS_tradehistory.php?symbol=sh000001&date=2015-01-26'>
2015-01-26 a>
div>td>
<td><div align="center">3347.257div>td>
<td><div align="center">3384.798div>td>
<td><div align="center">3383.182div>td>
<td class="tdr"><div align="center">3321.315div>td>
<td class="tdr"><div align="center">31754099200div>td>
<td class="tdr"><div align="center">358427459584div>td>
tr>
<tr >
<td><div align="center">
<a target='_blank' href='http://vip.stock.finance.sina.com.cn/quotes_service/view/vMS_tradehistory.php?symbol=sh000001&date=2015-01-23'>
2015-01-23 a>
div>td>
<td><div align="center">3357.096div>td>
<td><div align="center">3406.786div>td>
<td><div align="center">3351.764div>td>
<td class="tdr"><div align="center">3328.293div>td>
<td class="tdr"><div align="center">36624924800div>td>
<td class="tdr"><div align="center">420979539968div>td>
tr>
<tr class="tr_2">
<td><div align="center">
<a target='_blank' href='http://vip.stock.finance.sina.com.cn/quotes_service/view/vMS_tradehistory.php?symbol=sh000001&date=2015-01-22'>
2015-01-22 a>
div>td>
<td><div align="center">3327.319div>td>
<td><div align="center">3352.384div>td>
<td><div align="center">3343.344div>td>
<td class="tdr"><div align="center">3293.978div>td>
<td class="tdr"><div align="center">35338297600div>td>
<td class="tdr"><div align="center">407874076672div>td>
tr>
<tr >
<td><div align="center">
<a target='_blank' href='http://vip.stock.finance.sina.com.cn/quotes_service/view/vMS_tradehistory.php?symbol=sh000001&date=2015-01-21'>
2015-01-21 a>
div>td>
<td><div align="center">3189.085div>td>
<td><div align="center">3337.004div>td>
<td><div align="center">3323.611div>td>
<td class="tdr"><div align="center">3178.343div>td>
<td class="tdr"><div align="center">41095603200div>td>
<td class="tdr"><div align="center">473758662656div>td>
tr>
<tr class="tr_2">
<td><div align="center">
<a target='_blank' href='http://vip.stock.finance.sina.com.cn/quotes_service/view/vMS_tradehistory.php?symbol=sh000001&date=2015-01-20'>
2015-01-20 a>
div>td>
<td><div align="center">3114.560div>td>
<td><div align="center">3190.245div>td>
<td><div align="center">3173.052div>td>
<td class="tdr"><div align="center">3100.477div>td>
<td class="tdr"><div align="center">35708080000div>td>
<td class="tdr"><div align="center">416295223296div>td>
tr>
<tr >
<td><div align="center">
<a target='_blank' href='http://vip.stock.finance.sina.com.cn/quotes_service/view/vMS_tradehistory.php?symbol=sh000001&date=2015-01-19'>
2015-01-19 a>
div>td>
<td><div align="center">3189.727div>td>
<td><div align="center">3262.207div>td>
<td><div align="center">3116.351div>td>
<td class="tdr"><div align="center">3095.066div>td>
<td class="tdr"><div align="center">40109878400div>td>
<td class="tdr"><div align="center">409885999104div>td>
tr>
<tr class="tr_2">
<td><div align="center">
<a target='_blank' href='http://vip.stock.finance.sina.com.cn/quotes_service/view/vMS_tradehistory.php?symbol=sh000001&date=2015-01-16'>
2015-01-16 a>
div>td>
<td><div align="center">3343.603div>td>
<td><div align="center">3400.318div>td>
<td><div align="center">3376.495div>td>
<td class="tdr"><div align="center">3340.490div>td>
<td class="tdr"><div align="center">33987676800div>td>
<td class="tdr"><div align="center">392253898752div>td>
tr>
<tr >
<td><div align="center">
<a target='_blank' href='http://vip.stock.finance.sina.com.cn/quotes_service/view/vMS_tradehistory.php?symbol=sh000001&date=2015-01-15'>
2015-01-15 a>
div>td>
<td><div align="center">3224.070div>td>
<td><div align="center">3337.084div>td>
<td><div align="center">3336.455div>td>
<td class="tdr"><div align="center">3207.545div>td>
<td class="tdr"><div align="center">28254624000div>td>
<td class="tdr"><div align="center">330610540544div>td>
tr>
<tr class="tr_2">
<td><div align="center">
<a target='_blank' href='http://vip.stock.finance.sina.com.cn/quotes_service/view/vMS_tradehistory.php?symbol=sh000001&date=2015-01-14'>
2015-01-14 a>
div>td>
<td><div align="center">3242.337div>td>
<td><div align="center">3268.483div>td>
<td><div align="center">3222.437div>td>
<td class="tdr"><div align="center">3193.978div>td>
<td class="tdr"><div align="center">24019075200div>td>
<td class="tdr"><div align="center">267204526080div>td>
tr>
<tr >
<td><div align="center">
<a target='_blank' href='http://vip.stock.finance.sina.com.cn/quotes_service/view/vMS_tradehistory.php?symbol=sh000001&date=2015-01-13'>
2015-01-13 a>
div>td>
<td><div align="center">3223.542div>td>
<td><div align="center">3259.386div>td>
<td><div align="center">3235.301div>td>
<td class="tdr"><div align="center">3214.412div>td>
<td class="tdr"><div align="center">23072576000div>td>
<td class="tdr"><div align="center">273588781056div>td>
tr>
<tr class="tr_2">
<td><div align="center">
<a target='_blank' href='http://vip.stock.finance.sina.com.cn/quotes_service/view/vMS_tradehistory.php?symbol=sh000001&date=2015-01-12'>
2015-01-12 a>
div>td>
<td><div align="center">3258.213div>td>
<td><div align="center">3275.185div>td>
<td><div align="center">3229.316div>td>
<td class="tdr"><div align="center">3191.582div>td>
<td class="tdr"><div align="center">32206467200div>td>
<td class="tdr"><div align="center">366273069056div>td>
tr>
<tr >
<td><div align="center">
<a target='_blank' href='http://vip.stock.finance.sina.com.cn/quotes_service/view/vMS_tradehistory.php?symbol=sh000001&date=2015-01-09'>
2015-01-09 a>
div>td>
<td><div align="center">3276.965div>td>
<td><div align="center">3404.834div>td>
<td><div align="center">3285.412div>td>
<td class="tdr"><div align="center">3267.509div>td>
<td class="tdr"><div align="center">41024086400div>td>
<td class="tdr"><div align="center">458648027136div>td>
tr>
<tr class="tr_2">
<td><div align="center">
<a target='_blank' href='http://vip.stock.finance.sina.com.cn/quotes_service/view/vMS_tradehistory.php?symbol=sh000001&date=2015-01-08'>
2015-01-08 a>
div>td>
<td><div align="center">3371.957div>td>
<td><div align="center">3381.566div>td>
<td><div align="center">3293.456div>td>
<td class="tdr"><div align="center">3285.095div>td>
<td class="tdr"><div align="center">37113116800div>td>
<td class="tdr"><div align="center">399230304256div>td>
tr>
<tr >
<td><div align="center">
<a target='_blank' href='http://vip.stock.finance.sina.com.cn/quotes_service/view/vMS_tradehistory.php?symbol=sh000001&date=2015-01-07'>
2015-01-07 a>
div>td>
<td><div align="center">3326.649div>td>
<td><div align="center">3374.896div>td>
<td><div align="center">3373.954div>td>
<td class="tdr"><div align="center">3312.211div>td>
<td class="tdr"><div align="center">39191888000div>td>
<td class="tdr"><div align="center">436416708608div>td>
tr>
<tr class="tr_2">
<td><div align="center">
<a target='_blank' href='http://vip.stock.finance.sina.com.cn/quotes_service/view/vMS_tradehistory.php?symbol=sh000001&date=2015-01-06'>
2015-01-06 a>
div>td>
<td><div align="center">3330.799div>td>
<td><div align="center">3394.224div>td>
<td><div align="center">3351.446div>td>
<td class="tdr"><div align="center">3303.184div>td>
<td class="tdr"><div align="center">50166169600div>td>
<td class="tdr"><div align="center">532398473216div>td>
tr>
<tr >
<td><div align="center">
<a target='_blank' href='http://vip.stock.finance.sina.com.cn/quotes_service/view/vMS_tradehistory.php?symbol=sh000001&date=2015-01-05'>
2015-01-05 a>
div>td>
<td><div align="center">3258.627div>td>
<td><div align="center">3369.281div>td>
<td><div align="center">3350.519div>td>
<td class="tdr"><div align="center">3253.883div>td>
<td class="tdr"><div align="center">53135238400div>td>
<td class="tdr"><div align="center">549760073728div>td>
tr>
table>
div>
<script language="javascript" type="text/javascript">
romanceTables(["FundHoldSharesTable"]);
script>
div>
<style type="text/css">
#wrap{overflow:hidden;}
style>
<div class="clearit">div>
div>
div>
div>
div>
<style type="text/css">
#footer{width:950px; text-align:center; line-height:21px; font-size:12px;margin-top:20px;color:#333;margin-left:auto;margin-right:auto;}
#footer a:link{color:#000099}
#footer a:visited{color:#800080}
#footer a:hover{color:#ff0000;text-decoration:underline;}
#footer a:active {color:#0100A3; text-decoration:none;}
style>
<script type="text/javascript" src="http://www.sinaimg.cn/unipro/pub/suda_s_v851c.js">script>
<script type="text/javascript" >
_S_pSt(_S_PID_);
script>
<noScript>
<div style='position:absolute;top:0;left:0;width:0;height:0;visibility:hidden'><img width=0 height=0 src='http://beacon.sina.com.cn/a.gif?noScript' border='0' alt='' />div>
noScript>
<script language="javascript">
var wrUrl="//sina.wrating.com/";var wrDomain="sina.com.cn";var wratingDefaultAcc="860010-0323010000";var wratingAccArray={"torch.2008.sina.com.cn":"860010-0308070000","video.sina.com.cn":"860010-0309010000","cctv.sina.com.cn":"860010-0309020000","chat.sina.com.cn":"860010-0311010000","ent.sina.com.cn":"860010-0312010000","tech.sina.com.cn":"860010-0313010000","mobile.sina.com.cn":"860010-0313020000","house.sina.com.cn":"860010-0315010000","bj.house.sina.com.cn":"860010-0315020000","auto.sina.com.cn":"860010-0316010000","eladies.sina.com.cn":"860010-0317010000","bj.sina.com.cn":"860010-0317020000","woman.sina.com.cn":"860010-0317010000","women.sina.com.cn":"860010-0317010000","lady.sina.com.cn":"860010-0317010000","man.eladies.sina.com.cn":"860010-0317030000","games.sina.com.cn":"860010-0318010000","game.sina.com.cn":"860010-0318010000","edu.sina.com.cn":"860010-0307010000","baby.sina.com.cn":"860010-0320010000","kid.sina.com.cn":"860010-0320020000","astro.sina.com.cn":"860010-0321020000","news.sina.com.cn":"860010-0310010000","weather.news.sina.com.cn":"860010-0310020000","mil.news.sina.com.cn":"860010-0310030000","www.sina.com.cn":"860010-0322010000","home.sina.com.cn":"860010-0322010000","sports.sina.com.cn":"860010-0308010000","shidefc.sina.com.cn":"860010-0308020000","weiqi.sina.com.cn":"860010-0308030000","f1.sina.com.cn":"860010-0308040000","golf.sina.com.cn":"860010-0308050000","2002.sina.com.cn":"860010-0308060000","2004.sina.com.cn":"860010-0308060000","2006.sina.com.cn":"860010-0308060000","2008.sina.com.cn":"860010-0308070000","yayun2002.sina.com.cn":"860010-0308060000","yayun2006.sina.com.cn":"860010-0308060000","inter.sina.com.cn":"860010-0308080000","chelsea.sina.com.cn":"860010-0308090000","book.sina.com.cn":"860010-0319010000","cul.book.sina.com.cn":"860010-0319020000","comic.book.sina.com.cn":"860010-0319030000","finance.sina.com.cn":"860010-0314010000","money.sina.com.cn":"860010-0314020000","yue.sina.com.cn":"860010-0324010000","www.sina.com":"860010-0322010000"};function vjTrack(){var U=1800;var T=false;var S=false;var R="";var Q="0";var P="";var N;var L;var K;var J;var I;var H="expires=Fri, 1 Jan 2038 00:00:00 GMT;";var G=0;if(document.location.protocol=="file:"){return }T=navigator.cookieEnabled?"1":"0";S=navigator.javaEnabled()?"1":"0";var F="0";var E;var C=-1;var D=document.cookie;if(T=="1"){C=D.indexOf("vjuids=");if(C<0){E=vjVisitorID();document.cookie="vjuids="+escape(E)+";"+H+";domain="+wrDomain+";path=/;";if(document.cookie.indexOf("vjuids=")<0){T="0"}else{Q="1"}}else{E=vjGetCookie("vjuids")}}L=document.referrer;if(!L||L==""){L=""}R=vjFlash();if(self.screen){N=screen.width+"x"+screen.height+"x"+screen.colorDepth}else{if(self.java){var M=java.awt.Toolkit.getDefaultToolkit();var O=M.getScreenSize();N=O.width+"x"+O.height+"x0"}}if(navigator.language){K=navigator.language.toLowerCase()}else{if(navigator.browserLanguage){K=navigator.browserLanguage.toLowerCase()}else{K="-"}}I="";var B;var X;X=new Date();J=X.getTimezoneOffset()/-60;J=X.getTimezoneOffset()/-60;B="&s="+N+"&l="+K+"&z="+J+"&j="+S+"&f="+R;if(T=="1"){C=document.cookie.indexOf("vjlast=");if(C<0){G=0}else{G=parseInt(vjGetCookie("vjlast"))}}if((X.getTime()/1000)-G>U){F="1";document.cookie="vjlast="+Math.round(X.getTime()/1000)+";"+H+";domain="+wrDomain+";path=/;"}if(L!=""){B=B+"&r="+escape(L)}if(F!="0"){B=B+"&n="+G}if(Q!="0"){B=B+"&u="+Q}var V;var A=vjGetAcc();var W=vjGetDomain();V=wrUrl+"a.gif?a="+X.getTime().toString(16)+"&t="+escape(I)+"&i="+escape(E)+"&b="+escape(document.location)+"&c="+A+B+"&ck="+W;document.write(''" width="1" height="1" />')}function vjGetAcc(){var B=document.location.toString().toLowerCase();var C=(B.split("/"))[2];var A=wratingAccArray[C];if(typeof (A)=="undefined"){A=wratingDefaultAcc}return A}function vjFlash(){var _wr_f="-",_wr_n=navigator;if(_wr_n.plugins&&_wr_n.plugins.length){for(var ii=0;ii<_wr_n.plugins.length;ii++){if(_wr_n.plugins[ii].name.indexOf("Shockwave Flash")!=-1){_wr_f=_wr_n.plugins[ii].description.split("Shockwave Flash ")[1];break}}}else{if(window.ActiveXObject){for(var ii=10;ii>=2;ii--){try{var fl=eval("new ActiveXObject('ShockwaveFlash.ShockwaveFlash."+ii+"');");if(fl){_wr_f=ii+".0";break}}catch(e){}}}}return _wr_f}function vjHash(B){if(!B||B==""){return 0}var D=0;for(var C=B.length-1;C>=0;C--){var A=parseInt(B.charCodeAt(C));D=(D<<5)+D+A}return D}function vjVisitorID(){var B=vjHash(document.location+document.cookie+document.referrer).toString(16);var A;A=new Date();return B+"."+A.getTime().toString(16)+"."+Math.random().toString(16)}function vjGetCookieVal(B){var A=document.cookie.indexOf(";",B);if(A==-1){A=document.cookie.length}return unescape(document.cookie.substring(B,A))}function vjGetCookie(C){var B=C+"=";var F=B.length;var A=document.cookie.length;var E=0;while(Evar D=E+F;if(document.cookie.substring(E,D)==B){return vjGetCookieVal(D)}E=document.cookie.indexOf(" ",E)+1;if(E==0){break}}return null}function vjGetDomain(){var A=0;try{if(window.self.parent!=self){var D=/sina.com/i;var C=document.location.toString().toLowerCase();var B=parent.location.toString().toLowerCase();if(D.test(C)&&D.test(B)){A=1}}}catch(e){A=1}return A}vjTrack();
script>
<div id="footer">
客户服务热线:4006900000
欢迎批评指正<br>
<a target="_blank" href="http://tech.sina.com.cn/focus/sinahelp.shtml">常见问题解答a>
<a target="_blank" href="http://net.china.cn/chinese/index.htm">互联网违法和不良信息举报a>
<a target="_blank" href="http://comment5.news.sina.com.cn/comment/skin/feedback.html?channel=ly&newsid=5">新浪财经意见反馈留言板a>
<br><br>
<a href="http://corp.sina.com.cn/chn/">新浪简介a> | <a href="http://corp.sina.com.cn/eng/">About Sinaa> | <a href="http://emarketing.sina.com.cn/">广告服务a> | <a href="http://www.sina.com.cn/contactus.html">联系我们a> | <a href="http://corp.sina.com.cn/chn/sina_job.html">招聘信息a> | <a href="http://www.sina.com.cn/intro/lawfirm.shtml">网站律师a> | <a href="http://english.sina.com">SINA Englisha> | <a href="http://members.sina.com.cn/apply/">通行证注册a> | <a href="http://help.sina.com.cn/">产品答疑a><br><br>Copyright © 1996-2015 SINA Corporation, All Rights Reserved<br><br>新浪公司 <a target="_blank" href="http://www.sina.com.cn/intro/copyright.shtml">版权所有a>
div>
<script type="text/javascript" src="http://finance.sina.com.cn/iframe/nza_self.js">script>
<script type="text/javascript" id="recscript">script>
<script language="javascript" type="text/javascript">
script>
<div style="display:none">
<script type="text/javascript" src="http://sina.wrating.com/a1.js">script>
<script type="text/javascript">
var vjAcc="860010-0326010000";
var wrUrl="http://sina.wrating.com/";
vjTrack();
script>
<noscript><img src="http://sina.wrating.com/a.gif?c=860010-0326010000" width="1" height="1"/>noscript>
div>
<script type="text/javascript" src="http://www.sinaimg.cn/unipro/pub/suda_s_v839c.js">script>
<script type="text/javascript" >
_S_pSt(_S_PID_);
script>
body>
html>
复制和黏贴到记事本里,静静地思考和琢磨如何才能通过正则匹配获取到你想要的信息。
通过修改我的程序代码,从不同的渠道和网页抓取你想要的数据。等熟悉了以后,就可以自己写抓包代码啦。