如何利用matlab爬虫抓数据「建议收藏」

如何利用matlab爬虫抓数据「建议收藏」如何利用matlab爬虫抓包很多同学可能听说用python进行网上爬虫,今天给大家带来的是利用matlab爬虫。不需任何基础,意在给大家一种自己动手抓包的体验。打开你安装好的matlab。新建一个脚本文件,将以下代码复制黏贴进去。clc;clear;warningoff;year=2015;forseason=1:4fprintf(‘抓取%d年%d季度的数据中.

大家好,欢迎来到IT知识分享网。

如何利用matlab爬虫抓包

很多同学可能听说用python进行网上爬虫,今天给大家带来的是利用matlab爬虫。不需任何基础,意在给大家一种自己动手抓包的体验。

  1. 打开你安装好的matlab。
  2. 新建一个脚本文件,将以下代码复制黏贴进去。
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 = '<div align="center">(\d*\.?\d*)</div>';
[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表格,查看你的成果吧。

有好奇心的同学,可能还想探索一下具体的工作机制,这可能就需要下苦工了,有以下几点建议

  • 学着看懂代码,不懂的地方上网搜索。自己摸索才是最好的学习方式,小编就不详述了。
  • 看懂代码并学会正则表达式后,打开网页源代码。

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<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>
<!--[if IE]> <link media="all" rel="stylesheet" href="http://www.sinaimg.cn/cj/realstock/css/ie.css" /> <![endif]-->
<script language="javascript" type="text/javascript"> <!--//--><![CDATA[//><!-- var fullcode="sh000001"; var chart_img_alt = "上证综合指数 000001 行情图"; /* comment */ var cmnt_channel = "gg"; var cmnt_newsid = "sh-000001"; var cmnt_group = 1; var detailcache = new Array(); //--><!]]> </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">
<!-- 标准二级导航_财经 begin -->
<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>&nbsp;|&nbsp;<a href="http://www.sina.com.cn/">新浪首页</a>&nbsp;|&nbsp;<a href="http://news.sina.com.cn/guide/">新浪导航</a></div>
    </div>
</div>
<div id="level2headerborder"></div>
<!-- 标准二级导航_财经 end -->
  <!-- banner begin -->
  <div style="float:left; width:950px;">
    <!-- 顶部广告位 begin -->
    <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><!--<script type="text/javascript" src="http://finance.sina.com.cn/pdps/js/PDPS000000004094.js"></script> --> 
    </div>
    <!-- 顶部广告位 end -->
    <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>

  <!-- banner end -->
  <div class="HSpace-1-5"></div>
  <!-- 导航 begin -->
  <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>
  <!-- 导航 end -->
  <!-- 导航下 begin -->
  <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">沪深300</a>: 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"> <!--//--><![CDATA[//><!-- if(!document.layers) { with (document.getElementsByTagName("marquee")[0]) { scrollDelay = 50; scrollAmount = 2; onmouseout = function () { 
     this.scrollDelay = 50; }; } } //--><!]]> </script>
    </div>
  </div>
  <!-- 导航下 end -->
  <div class="HSpace-1-6"></div>

  <div id="main">

    <!-- 左侧 begin -->
    <div id="left">
      <!-- 最近访问股|我的自选股 begin -->
      <div class="LBlk01">
        <!-- 标签 begin -->
        <ul class="LTab01">
          <li class="Menu01On" id="m01-0">最近访问股</li>

          <li class="Menu01Off" id="m01-1">我的自选股</li>

        </ul>
        <!-- 标签 end -->
        <!-- 内容 begin -->
        <div id="con01-0"></div>
        <div id="con01-1" style="display:none;"></div>
        <!-- 内容 end -->
      </div>

      <!-- 最近访问股|我的自选股 end -->
      <div class="HSpace-1-10"></div>

      <!-- 菜单 begin -->
      <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="HSpace-1-10"></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>

      <!-- 菜单 end -->

    </div>
    <!-- 左侧 end -->
    <!-- 中间 begin -->
    <div id="center">

      <!-- 图 begin -->
      <div class="centerImgBlk">
        <!-- toolbartop begin -->
        <div class="toolbartop" id="toolbar">

          <div class="tbtb01">
            <h1 id="itemName"></h1>
            <h2><span id="itemMarket">-</span> 000001</h2>

          </div>
          <div class="tbtb02">
            <h3 id="itemCurrent" class="incolor">-</h3>

            <h4><span class="fRed01" id="itemdiffprice">-</span>&nbsp;&nbsp;<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>

    <!--new added-->

        <div class="sht">
            <div class="shtbipt">
              <!--suggest begin--> 
              <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> 
              <!--suggest end-->

            </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><!--<a href="bc.shtml" target="_self" class="icon3">旧版</a> --></h1>
          </div>



        </div>
        <!-- toolbartop end -->

<!--<div style="margin-left: 0px; margin-top: 20px;">-->
<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">
  <!--历史交易begin-->
    <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>2015</option>
                    <option value="2014" >2014</option>
                    <option value="2013" >2013</option>
                    <option value="2012" >2012</option>
                    <option value="2011" >2011</option>
                    <option value="2010" >2010</option>
                    <option value="2009" >2009</option>
                    <option value="2008" >2008</option>
                    <option value="2007" >2007</option>
                    <option value="2006" >2006</option>
                    <option value="2005" >2005</option>
                    <option value="2004" >2004</option>
                    <option value="2003" >2003</option>
                    <option value="2002" >2002</option>
                    <option value="2001" >2001</option>
                    <option value="2000" >2000</option>
                    <option value="1999" >1999</option>
                    <option value="1998" >1998</option>
                    <option value="1997" >1997</option>
                    <option value="1996" >1996</option>
                    <option value="1995" >1995</option>
                    <option value="1994" >1994</option>
                    <option value="1993" >1993</option>
                    <option value="1992" >1992</option>
                    <option value="1991" >1991</option>
                    <option value="1990" >1990</option>
            </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.987</div></td>
            <td><div align="center">3835.567</div></td>
            <td><div align="center">3747.899</div></td>
            <td class="tdr"><div align="center">3737.043</div></td>
            <td class="tdr"><div align="center">56167603200</div></td>
            <td class="tdr"><div align="center">721294917632</div></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.612</div></td>
            <td><div align="center">3795.935</div></td>
            <td><div align="center">3786.568</div></td>
            <td class="tdr"><div align="center">3710.612</div></td>
            <td class="tdr"><div align="center">56470233600</div></td>
            <td class="tdr"><div align="center">692125368320</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-27'>
            2015-03-27          </a>
                        </div></td>
            <td><div align="center">3686.134</div></td>
            <td><div align="center">3710.477</div></td>
            <td><div align="center">3691.096</div></td>
            <td class="tdr"><div align="center">3656.831</div></td>
            <td class="tdr"><div align="center">40894515200</div></td>
            <td class="tdr"><div align="center">509298475008</div></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.942</div></td>
            <td><div align="center">3707.318</div></td>
            <td><div align="center">3682.095</div></td>
            <td class="tdr"><div align="center">3615.011</div></td>
            <td class="tdr"><div align="center">48864720000</div></td>
            <td class="tdr"><div align="center">619515609088</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-25'>
            2015-03-25          </a>
                        </div></td>
            <td><div align="center">3680.953</div></td>
            <td><div align="center">3693.151</div></td>
            <td><div align="center">3660.727</div></td>
            <td class="tdr"><div align="center">3634.559</div></td>
            <td class="tdr"><div align="center">52188633600</div></td>
            <td class="tdr"><div align="center">645498929152</div></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.569</div></td>
            <td><div align="center">3715.873</div></td>
            <td><div align="center">3691.410</div></td>
            <td class="tdr"><div align="center">3600.698</div></td>
            <td class="tdr"><div align="center">63955468800</div></td>
            <td class="tdr"><div align="center">754884739072</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-23'>
            2015-03-23          </a>
                        </div></td>
            <td><div align="center">3640.104</div></td>
            <td><div align="center">3688.249</div></td>
            <td><div align="center">3687.728</div></td>
            <td class="tdr"><div align="center">3635.485</div></td>
            <td class="tdr"><div align="center">53606284800</div></td>
            <td class="tdr"><div align="center">661574647808</div></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.084</div></td>
            <td><div align="center">3632.338</div></td>
            <td><div align="center">3617.318</div></td>
            <td class="tdr"><div align="center">3569.380</div></td>
            <td class="tdr"><div align="center">51666166400</div></td>
            <td class="tdr"><div align="center">651771969536</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-19'>
            2015-03-19          </a>
                        </div></td>
            <td><div align="center">3576.019</div></td>
            <td><div align="center">3600.684</div></td>
            <td><div align="center">3582.271</div></td>
            <td class="tdr"><div align="center">3546.844</div></td>
            <td class="tdr"><div align="center">53734662400</div></td>
            <td class="tdr"><div align="center">612249698304</div></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.501</div></td>
            <td><div align="center">3577.662</div></td>
            <td><div align="center">3577.301</div></td>
            <td class="tdr"><div align="center">3503.853</div></td>
            <td class="tdr"><div align="center">54521715200</div></td>
            <td class="tdr"><div align="center">617367011328</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-17'>
            2015-03-17          </a>
                        </div></td>
            <td><div align="center">3469.603</div></td>
            <td><div align="center">3504.123</div></td>
            <td><div align="center">3502.847</div></td>
            <td class="tdr"><div align="center">3459.694</div></td>
            <td class="tdr"><div align="center">52093952000</div></td>
            <td class="tdr"><div align="center">601500680192</div></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.158</div></td>
            <td><div align="center">3449.305</div></td>
            <td><div align="center">3449.305</div></td>
            <td class="tdr"><div align="center">3377.087</div></td>
            <td class="tdr"><div align="center">39913241600</div></td>
            <td class="tdr"><div align="center">479355305984</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-13'>
            2015-03-13          </a>
                        </div></td>
            <td><div align="center">3359.488</div></td>
            <td><div align="center">3391.255</div></td>
            <td><div align="center">3372.911</div></td>
            <td class="tdr"><div align="center">3352.150</div></td>
            <td class="tdr"><div align="center">32841014400</div></td>
            <td class="tdr"><div align="center">374041411584</div></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.813</div></td>
            <td><div align="center">3360.054</div></td>
            <td><div align="center">3349.323</div></td>
            <td class="tdr"><div align="center">3300.488</div></td>
            <td class="tdr"><div align="center">35729510400</div></td>
            <td class="tdr"><div align="center">407192403968</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-11'>
            2015-03-11          </a>
                        </div></td>
            <td><div align="center">3289.594</div></td>
            <td><div align="center">3325.054</div></td>
            <td><div align="center">3290.900</div></td>
            <td class="tdr"><div align="center">3278.471</div></td>
            <td class="tdr"><div align="center">28298553600</div></td>
            <td class="tdr"><div align="center">327573078016</div></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.085</div></td>
            <td><div align="center">3309.915</div></td>
            <td><div align="center">3286.068</div></td>
            <td class="tdr"><div align="center">3277.095</div></td>
            <td class="tdr"><div align="center">28581756800</div></td>
            <td class="tdr"><div align="center">329955966976</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-09'>
            2015-03-09          </a>
                        </div></td>
            <td><div align="center">3224.314</div></td>
            <td><div align="center">3307.702</div></td>
            <td><div align="center">3302.408</div></td>
            <td class="tdr"><div align="center">3198.370</div></td>
            <td class="tdr"><div align="center">32149542400</div></td>
            <td class="tdr"><div align="center">359927513088</div></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.036</div></td>
            <td><div align="center">3266.933</div></td>
            <td><div align="center">3241.187</div></td>
            <td class="tdr"><div align="center">3234.533</div></td>
            <td class="tdr"><div align="center">28291577600</div></td>
            <td class="tdr"><div align="center">328344141824</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-05'>
            2015-03-05          </a>
                        </div></td>
            <td><div align="center">3264.085</div></td>
            <td><div align="center">3266.638</div></td>
            <td><div align="center">3248.476</div></td>
            <td class="tdr"><div align="center">3221.666</div></td>
            <td class="tdr"><div align="center">32066358400</div></td>
            <td class="tdr"><div align="center">373580005376</div></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.182</div></td>
            <td><div align="center">3286.588</div></td>
            <td><div align="center">3279.533</div></td>
            <td class="tdr"><div align="center">3250.484</div></td>
            <td class="tdr"><div align="center">29363952000</div></td>
            <td class="tdr"><div align="center">346789773312</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-03'>
            2015-03-03          </a>
                        </div></td>
            <td><div align="center">3317.695</div></td>
            <td><div align="center">3317.695</div></td>
            <td><div align="center">3263.052</div></td>
            <td class="tdr"><div align="center">3260.429</div></td>
            <td class="tdr"><div align="center">38204460800</div></td>
            <td class="tdr"><div align="center">441593495552</div></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.721</div></td>
            <td><div align="center">3336.760</div></td>
            <td><div align="center">3336.285</div></td>
            <td class="tdr"><div align="center">3298.669</div></td>
            <td class="tdr"><div align="center">34644566400</div></td>
            <td class="tdr"><div align="center">410259554304</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-02-27'>
            2015-02-27          </a>
                        </div></td>
            <td><div align="center">3296.831</div></td>
            <td><div align="center">3324.546</div></td>
            <td><div align="center">3310.303</div></td>
            <td class="tdr"><div align="center">3291.007</div></td>
            <td class="tdr"><div align="center">29916371200</div></td>
            <td class="tdr"><div align="center">335019573248</div></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.151</div></td>
            <td><div align="center">3300.616</div></td>
            <td><div align="center">3298.359</div></td>
            <td class="tdr"><div align="center">3202.188</div></td>
            <td class="tdr"><div align="center">30126387200</div></td>
            <td class="tdr"><div align="center">334347468800</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-02-25'>
            2015-02-25          </a>
                        </div></td>
            <td><div align="center">3256.479</div></td>
            <td><div align="center">3257.223</div></td>
            <td><div align="center">3228.843</div></td>
            <td class="tdr"><div align="center">3215.552</div></td>
            <td class="tdr"><div align="center">23334809600</div></td>
            <td class="tdr"><div align="center">265143353344</div></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.884</div></td>
            <td><div align="center">3255.725</div></td>
            <td><div align="center">3246.906</div></td>
            <td class="tdr"><div align="center">3230.772</div></td>
            <td class="tdr"><div align="center">22833262400</div></td>
            <td class="tdr"><div align="center">263340048384</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-02-16'>
            2015-02-16          </a>
                        </div></td>
            <td><div align="center">3206.137</div></td>
            <td><div align="center">3228.846</div></td>
            <td><div align="center">3222.363</div></td>
            <td class="tdr"><div align="center">3195.884</div></td>
            <td class="tdr"><div align="center">22379742400</div></td>
            <td class="tdr"><div align="center">265950691328</div></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.808</div></td>
            <td><div align="center">3237.159</div></td>
            <td><div align="center">3203.827</div></td>
            <td class="tdr"><div align="center">3182.794</div></td>
            <td class="tdr"><div align="center">26129043200</div></td>
            <td class="tdr"><div align="center">293017681920</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-02-12'>
            2015-02-12          </a>
                        </div></td>
            <td><div align="center">3157.959</div></td>
            <td><div align="center">3181.766</div></td>
            <td><div align="center">3173.416</div></td>
            <td class="tdr"><div align="center">3134.244</div></td>
            <td class="tdr"><div align="center">19459230400</div></td>
            <td class="tdr"><div align="center">229691572224</div></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.765</div></td>
            <td><div align="center">3166.421</div></td>
            <td><div align="center">3157.704</div></td>
            <td class="tdr"><div align="center">3139.052</div></td>
            <td class="tdr"><div align="center">17284009600</div></td>
            <td class="tdr"><div align="center">210862555136</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-02-10'>
            2015-02-10          </a>
                        </div></td>
            <td><div align="center">3090.490</div></td>
            <td><div align="center">3142.099</div></td>
            <td><div align="center">3141.593</div></td>
            <td class="tdr"><div align="center">3084.253</div></td>
            <td class="tdr"><div align="center">19381713600</div></td>
            <td class="tdr"><div align="center">225084915712</div></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.510</div></td>
            <td><div align="center">3119.034</div></td>
            <td><div align="center">3095.124</div></td>
            <td class="tdr"><div align="center">3049.111</div></td>
            <td class="tdr"><div align="center">20610838400</div></td>
            <td class="tdr"><div align="center">240719675392</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-02-06'>
            2015-02-06          </a>
                        </div></td>
            <td><div align="center">3120.090</div></td>
            <td><div align="center">3129.539</div></td>
            <td><div align="center">3075.907</div></td>
            <td class="tdr"><div align="center">3052.939</div></td>
            <td class="tdr"><div align="center">24674966400</div></td>
            <td class="tdr"><div align="center">266502782976</div></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.212</div></td>
            <td><div align="center">3251.212</div></td>
            <td><div align="center">3136.531</div></td>
            <td class="tdr"><div align="center">3135.819</div></td>
            <td class="tdr"><div align="center">30613929600</div></td>
            <td class="tdr"><div align="center">348266954752</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-02-04'>
            2015-02-04          </a>
                        </div></td>
            <td><div align="center">3212.822</div></td>
            <td><div align="center">3238.982</div></td>
            <td><div align="center">3174.126</div></td>
            <td class="tdr"><div align="center">3171.144</div></td>
            <td class="tdr"><div align="center">24909808000</div></td>
            <td class="tdr"><div align="center">290155167744</div></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.086</div></td>
            <td><div align="center">3207.935</div></td>
            <td><div align="center">3204.907</div></td>
            <td class="tdr"><div align="center">3129.732</div></td>
            <td class="tdr"><div align="center">24819216000</div></td>
            <td class="tdr"><div align="center">283355938816</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-02-02'>
            2015-02-02          </a>
                        </div></td>
            <td><div align="center">3148.136</div></td>
            <td><div align="center">3175.134</div></td>
            <td><div align="center">3128.300</div></td>
            <td class="tdr"><div align="center">3122.572</div></td>
            <td class="tdr"><div align="center">25086163200</div></td>
            <td class="tdr"><div align="center">266849959936</div></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.747</div></td>
            <td><div align="center">3288.503</div></td>
            <td><div align="center">3210.363</div></td>
            <td class="tdr"><div align="center">3210.308</div></td>
            <td class="tdr"><div align="center">25831254400</div></td>
            <td class="tdr"><div align="center">284265644032</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-01-29'>
            2015-01-29          </a>
                        </div></td>
            <td><div align="center">3258.997</div></td>
            <td><div align="center">3286.786</div></td>
            <td><div align="center">3262.305</div></td>
            <td class="tdr"><div align="center">3234.241</div></td>
            <td class="tdr"><div align="center">27465862400</div></td>
            <td class="tdr"><div align="center">296424505344</div></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.722</div></td>
            <td><div align="center">3354.802</div></td>
            <td><div align="center">3305.738</div></td>
            <td class="tdr"><div align="center">3294.655</div></td>
            <td class="tdr"><div align="center">30192710400</div></td>
            <td class="tdr"><div align="center">341564293120</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-01-27'>
            2015-01-27          </a>
                        </div></td>
            <td><div align="center">3389.853</div></td>
            <td><div align="center">3390.216</div></td>
            <td><div align="center">3352.960</div></td>
            <td class="tdr"><div align="center">3290.219</div></td>
            <td class="tdr"><div align="center">37451753600</div></td>
            <td class="tdr"><div align="center">418298855424</div></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.257</div></td>
            <td><div align="center">3384.798</div></td>
            <td><div align="center">3383.182</div></td>
            <td class="tdr"><div align="center">3321.315</div></td>
            <td class="tdr"><div align="center">31754099200</div></td>
            <td class="tdr"><div align="center">358427459584</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-01-23'>
            2015-01-23          </a>
                        </div></td>
            <td><div align="center">3357.096</div></td>
            <td><div align="center">3406.786</div></td>
            <td><div align="center">3351.764</div></td>
            <td class="tdr"><div align="center">3328.293</div></td>
            <td class="tdr"><div align="center">36624924800</div></td>
            <td class="tdr"><div align="center">420979539968</div></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.319</div></td>
            <td><div align="center">3352.384</div></td>
            <td><div align="center">3343.344</div></td>
            <td class="tdr"><div align="center">3293.978</div></td>
            <td class="tdr"><div align="center">35338297600</div></td>
            <td class="tdr"><div align="center">407874076672</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-01-21'>
            2015-01-21          </a>
                        </div></td>
            <td><div align="center">3189.085</div></td>
            <td><div align="center">3337.004</div></td>
            <td><div align="center">3323.611</div></td>
            <td class="tdr"><div align="center">3178.343</div></td>
            <td class="tdr"><div align="center">41095603200</div></td>
            <td class="tdr"><div align="center">473758662656</div></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.560</div></td>
            <td><div align="center">3190.245</div></td>
            <td><div align="center">3173.052</div></td>
            <td class="tdr"><div align="center">3100.477</div></td>
            <td class="tdr"><div align="center">35708080000</div></td>
            <td class="tdr"><div align="center">416295223296</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-01-19'>
            2015-01-19          </a>
                        </div></td>
            <td><div align="center">3189.727</div></td>
            <td><div align="center">3262.207</div></td>
            <td><div align="center">3116.351</div></td>
            <td class="tdr"><div align="center">3095.066</div></td>
            <td class="tdr"><div align="center">40109878400</div></td>
            <td class="tdr"><div align="center">409885999104</div></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.603</div></td>
            <td><div align="center">3400.318</div></td>
            <td><div align="center">3376.495</div></td>
            <td class="tdr"><div align="center">3340.490</div></td>
            <td class="tdr"><div align="center">33987676800</div></td>
            <td class="tdr"><div align="center">392253898752</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-01-15'>
            2015-01-15          </a>
                        </div></td>
            <td><div align="center">3224.070</div></td>
            <td><div align="center">3337.084</div></td>
            <td><div align="center">3336.455</div></td>
            <td class="tdr"><div align="center">3207.545</div></td>
            <td class="tdr"><div align="center">28254624000</div></td>
            <td class="tdr"><div align="center">330610540544</div></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.337</div></td>
            <td><div align="center">3268.483</div></td>
            <td><div align="center">3222.437</div></td>
            <td class="tdr"><div align="center">3193.978</div></td>
            <td class="tdr"><div align="center">24019075200</div></td>
            <td class="tdr"><div align="center">267204526080</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-01-13'>
            2015-01-13          </a>
                        </div></td>
            <td><div align="center">3223.542</div></td>
            <td><div align="center">3259.386</div></td>
            <td><div align="center">3235.301</div></td>
            <td class="tdr"><div align="center">3214.412</div></td>
            <td class="tdr"><div align="center">23072576000</div></td>
            <td class="tdr"><div align="center">273588781056</div></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.213</div></td>
            <td><div align="center">3275.185</div></td>
            <td><div align="center">3229.316</div></td>
            <td class="tdr"><div align="center">3191.582</div></td>
            <td class="tdr"><div align="center">32206467200</div></td>
            <td class="tdr"><div align="center">366273069056</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-01-09'>
            2015-01-09          </a>
                        </div></td>
            <td><div align="center">3276.965</div></td>
            <td><div align="center">3404.834</div></td>
            <td><div align="center">3285.412</div></td>
            <td class="tdr"><div align="center">3267.509</div></td>
            <td class="tdr"><div align="center">41024086400</div></td>
            <td class="tdr"><div align="center">458648027136</div></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.957</div></td>
            <td><div align="center">3381.566</div></td>
            <td><div align="center">3293.456</div></td>
            <td class="tdr"><div align="center">3285.095</div></td>
            <td class="tdr"><div align="center">37113116800</div></td>
            <td class="tdr"><div align="center">399230304256</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-01-07'>
            2015-01-07          </a>
                        </div></td>
            <td><div align="center">3326.649</div></td>
            <td><div align="center">3374.896</div></td>
            <td><div align="center">3373.954</div></td>
            <td class="tdr"><div align="center">3312.211</div></td>
            <td class="tdr"><div align="center">39191888000</div></td>
            <td class="tdr"><div align="center">436416708608</div></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.799</div></td>
            <td><div align="center">3394.224</div></td>
            <td><div align="center">3351.446</div></td>
            <td class="tdr"><div align="center">3303.184</div></td>
            <td class="tdr"><div align="center">50166169600</div></td>
            <td class="tdr"><div align="center">532398473216</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-01-05'>
            2015-01-05          </a>
                        </div></td>
            <td><div align="center">3258.627</div></td>
            <td><div align="center">3369.281</div></td>
            <td><div align="center">3350.519</div></td>
            <td class="tdr"><div align="center">3253.883</div></td>
            <td class="tdr"><div align="center">53135238400</div></td>
            <td class="tdr"><div align="center">549760073728</div></td>
          </tr>

      </table>
      </div>
        <script language="javascript" type="text/javascript"> romanceTables(["FundHoldSharesTable"]); </script>
  <!--历史交易end-->
      </div>

<!-- 用来解决整个wrap高度显示的问题 -->      
<style type="text/css"> #wrap{ 
    overflow:hidden;} </style>

<!--</div>-->
<div class="clearit"></div>
      </div>

    </div>
    <!-- 中间 end -->

  </div>
</div>


<!-- 首页标准尾_START -->

<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>
<!-- SUDA_CODE_START --> 
<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> 
<!-- SUDA_CODE_END --> 

<!-- Start Wrating -->
<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('<img src="'+V+'" 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(E<A){ 
   var 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>
<!-- End Wrating-->

<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&amp;newsid=5">新浪财经意见反馈留言板</a>
<br><br>
<a href="http://corp.sina.com.cn/chn/">新浪简介</a> | <a href="http://corp.sina.com.cn/eng/">About Sina</a> | <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 English</a> | <a href="http://members.sina.com.cn/apply/">通行证注册</a> | <a href="http://help.sina.com.cn/">产品答疑</a><br><br>Copyright &copy; 1996-2015 SINA Corporation, All Rights Reserved<br><br>新浪公司 <a target="_blank" href="http://www.sina.com.cn/intro/copyright.shtml">版权所有</a>
</div>

<!-- 首页标准尾_END -->

<!-- suggest -->
<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"> <!--//--><![CDATA[//><!-- /* 整个页面js开始运 */ //var App = new S_Finance.App(fullcode); try{ 
   var App = new S_Finance.App(fullcode);}catch(er){} //--><!]]> </script>

<!-- START WRating v1.0 -->
<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>
<!-- END WRating v1.0 -->
<!-- SUDA_CODE_START --> 
<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> 
<!-- SUDA_CODE_END -->
</body>
</html>


  • 复制和黏贴到记事本里,静静地思考和琢磨如何才能通过正则匹配获取到你想要的信息。

  • 通过修改我的程序代码,从不同的渠道和网页抓取你想要的数据。等熟悉了以后,就可以自己写抓包代码啦。

免责声明:本站所有文章内容,图片,视频等均是来源于用户投稿和互联网及文摘转载整编而成,不代表本站观点,不承担相关法律责任。其著作权各归其原作者或其出版社所有。如发现本站有涉嫌抄袭侵权/违法违规的内容,侵犯到您的权益,请在线联系站长,一经查实,本站将立刻删除。 本文来自网络,若有侵权,请联系删除,如若转载,请注明出处:https://yundeesoft.com/26404.html

(0)

相关推荐

发表回复

您的邮箱地址不会被公开。 必填项已用 * 标注

关注微信