fly86413 发表于 2009-5-11 16:48:06

求it.com.cn的分页采集规则

<div id="art_page">
   
   1
   <a href="http://www.it.com.cn/notebook/review/pc/2009/05/07/08/521967_1.html">2</a>
   <a href="http://www.it.com.cn/notebook/review/pc/2009/05/07/08/521967_2.html">3</a>
   <a href="http://www.it.com.cn/notebook/review/pc/2009/05/07/08/521967_3.html">4</a>
   <a href="http://www.it.com.cn/notebook/review/pc/2009/05/07/08/521967_4.html">5</a>
   <a href="http://www.it.com.cn/notebook/review/pc/2009/05/07/08/521967_5.html">6</a>
   <a href="http://www.it.com.cn/notebook/review/pc/2009/05/07/08/521967_6.html">7</a>
   <a href="http://www.it.com.cn/notebook/review/pc/2009/05/07/08/521967_7.html">8</a>
   <a href="http://www.it.com.cn/notebook/review/pc/2009/05/07/08/521967_8.html">9</a>
   <a href="http://www.it.com.cn/notebook/review/pc/2009/05/07/08/521967_9.html">10</a>
   <a href="http://www.it.com.cn/notebook/review/pc/2009/05/07/08/521967_10.html">11</a>
   <a href="http://www.it.com.cn/notebook/review/pc/2009/05/07/08/521967_11.html">12</a>
   
                           <a href="http://www.it.com.cn/notebook/review/pc/2009/05/07/08/521967_1.html"></a>
                  <a href="http://www.it.com.cn/notebook/review/pc/2009/05/07/08/521967_11.html"></a>
                     <a href="http://www.it.com.cn/notebook/review/pc/2009/05/07/08/521967_1.html">下一页</a>
            <a href="http://www.it.com.cn/notebook/review/pc/2009/05/07/08/521967_11.html">尾页</a>

    共页
<SCRIPT language="javascript" src="http://image.it.com.cn/count/notebook_review_pc.js"></SCRIPT> </div>

zhouchanglin 发表于 2009-5-11 17:03:40

不会,怎么都采不到分页,这个网站很怪呀,高手该来试试了{:2_143:}

fly86413 发表于 2009-5-11 17:11:27

不知道是啥情况

大腿 发表于 2009-5-11 19:45:26

怪什么?
从上一页</a>
到下一页</a>

fly86413 发表于 2009-5-12 11:24:41

完全没有任何作用·····

大腿 发表于 2009-5-12 12:13:50

说明你的火车坏了.重新下载解压运行测试

fly86413 发表于 2009-5-12 14:10:44

可以了 不过不是你那种方式··

bsuc 发表于 2009-5-13 01:02:54

看不太明白

cshack 发表于 2009-5-25 11:12:15

file:///C:/DOCUME%7E1/ADMINI%7E1/LOCALS%7E1/Temp/moz-screenshot.jpg
页: [1]
查看完整版本: 求it.com.cn的分页采集规则