zayautov 发表于 2011-2-21 11:46:27

分页采集顺序混乱如何解决?

<div class="pcauto_page"><span>1</span>
<a href="http://www.pcauto.com.cn/nation/gckx/1101/1377924_1.html">2</a>
<a href="http://www.pcauto.com.cn/nation/gckx/1101/1377924_2.html">3</a>
<a href="http://www.pcauto.com.cn/nation/gckx/1101/1377924_3.html">4</a>
<a href="http://www.pcauto.com.cn/nation/gckx/1101/1377924_4.html">5</a>
<a href="http://www.pcauto.com.cn/nation/gckx/1101/1377924_5.html">6</a>
<a href="http://www.pcauto.com.cn/nation/gckx/1101/1377924_6.html">7</a>
<a href="http://www.pcauto.com.cn/nation/gckx/1101/1377924_7.html">8</a>...
<a href="http://www.pcauto.com.cn/nation/gckx/1101/1377924_11.html">12</a>
<a href="http://www.pcauto.com.cn/nation/gckx/1101/1377924_1.html" class="next">下一页
</a></div>


█此页面包含多个分页:
█1:http://www.pcauto.com.cn/nation/gckx/1101/1377924.html
█2:http://www.pcauto.com.cn/nation/gckx/1101/1377924_1.html
█3:http://www.pcauto.com.cn/nation/gckx/1101/1377924_2.html
█4:http://www.pcauto.com.cn/nation/gckx/1101/1377924_3.html
█5:http://www.pcauto.com.cn/nation/gckx/1101/1377924_4.html
█6:http://www.pcauto.com.cn/nation/gckx/1101/1377924_5.html
█7:http://www.pcauto.com.cn/nation/gckx/1101/1377924_6.html
█8:http://www.pcauto.com.cn/nation/gckx/1101/1377924_7.html

█9:http://www.pcauto.com.cn/nation/gckx/1101/1377924_11.html

█10:http://www.pcauto.com.cn/nation/gckx/1101/1377924_8.html
█11:http://www.pcauto.com.cn/nation/gckx/1101/1377924_9.html
█12:http://www.pcauto.com.cn/nation/gckx/1101/1377924_10.html
█有分页匹配的标签,比如内容注意选中标签编辑框中的[该标签在分页中匹配]

页面地址 http://www.pcauto.com.cn/nation/gckx/1101/1377924.html

分页图标截图

专业收费采集 发表于 2011-2-21 12:46:24

分页代码 写的不正确

wxl08 发表于 2011-2-21 13:10:15

设置内容分页时,使用上下页模式,开始字符串:<div class="pcauto_page">(*)</span>;结束字符串:</a>(*)</div>

zayautov 发表于 2011-2-21 14:12:19

回复 3# wxl08


    可以了噢为啥要这样写呢???
页: [1]
查看完整版本: 分页采集顺序混乱如何解决?