天机 发表于 2008-6-3 16:15:57

(v3.2)太平洋女性网分页求助

页面地址:http://luxury.pclady.com.cn/fashion/trend/

分页样式: 【下一页】    【尾页】   【第 1 页 共 22 页】

分页代码:
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0" style=" margin-top:15px; margin-bottom:40px;">
<tr>
    <td align="center"><!--page number-->
      <div id="page_num" style="text-align:center; margin:0px auto;">      <a href = "http://luxury.pclady.com.cn/fashion/trend/index_1.html">【下一页】</a>    <a href = "http://luxury.pclady.com.cn/fashion/trend/index_21.html">【尾页】</a>   【第1页 共22页】</div></td>
</tr>
</table>


对于这样的页面,我要怎么写分页编码,并且站贴在什么功能区域呢?

[ 本帖最后由 天机 于 2008-6-3 16:19 编辑 ]

sengl 发表于 2008-6-3 17:00:28

http://luxury.pclady.com.cn/fashion/trend/index.html
http://luxury.pclady.com.cn/fashion/trend/index_(*).html

添加一个单页和批量1到21

[ 本帖最后由 sengl 于 2008-6-3 17:02 编辑 ]

天机 发表于 2008-6-3 18:54:39

已经成功~但是由于使用了分页代码,抓到的内容就是多个分页内容,都在一个页面内保存下来了,有什么办法能让根据分页抓下来的页面,也分页生成文件呢?

如:现在生成1.html里面有5页的内容,怎么让生成 1_1.html......1_5.html 这样子?

sengl 发表于 2008-6-3 19:05:03

用分格符啊.   你用什么程式序 在发帖那里都有分页符的.看看是什么.写在分页那里就行
页: [1]
查看完整版本: (v3.2)太平洋女性网分页求助