adslcx 发表于 2007-12-23 09:26:54

请教大家如何采集这种上下分页的呢?

:<br/><br/><a href='n_list.asp?n_id=77570&amp;n_articleid=4175&amp;p=2&amp;ye=600&amp;shouji=0'>下页</a><a href='n_list.asp?n_id=77570&amp;n_articleid=4175&amp;p=40&amp;ye=600&amp;shouji=0'>>></a>[<a href='n_list.asp?n_id=77571&amp;n_articleid=4175&amp;ye=600&amp;shouji=0'>下章</a>]


这种分页。。不知道为什么我采不到。不敢是自动还是自己设置规则
http://fh315.com/n_list.asp?n_id=77570&n_articleid=4175&shouji=0

是wml格式的。IE打不开。但是可以用火车头的源码查看来看。
现在只能才第一页。。郁闷。谢谢大家了

adslcx 发表于 2007-12-23 09:39:13

顶上。。谢谢大家了

adslcx 发表于 2007-12-23 09:41:28

而且我在ET里按照我的设置是可以采集分页的。搬到火车头就不行了

:Q :Q :Q :Q

adslcx 发表于 2007-12-23 10:40:40

希望大家帮帮忙

adslcx 发表于 2007-12-26 20:10:16

没有人帮我一下吗。。

fal 发表于 2007-12-27 15:31:13



源码里分页地址是
<a href='n_list.asp?n_id=77570& amp;n_articleid=4175& amp;p=2& amp;ye=600& amp;shouji=0'>
这样写的.
直接采集下来的二级地址是
http://fh315.com/n_list.asp?n_id=77570& amp;n_articleid=4175& amp;p=2& amp;ye=600& amp;shouji=0
这是个错误的地址.
真正能用的写法是
http://fh315.com/n_list.asp?n_id=77570&n_articleid=4175&p=2&ye=600&shouji=0
&是用& amp;转义符来表示.
火车头不会自动给你改回来.
因为在采集分页地址的时候.不能设置替换.
所以用自定义连接的方式来做就行了.

adslcx 发表于 2007-12-27 19:06:08

非常的感谢楼上的。学到东西了。谢谢

:ali0ls :ali0ls :ali0ls

adslcx 发表于 2007-12-27 20:42:31

不知道为什么。。按照6楼的设置还是不成呢。。。希望可以给出详细的规则。。

adslcx 发表于 2007-12-28 13:25:05

顶亠下..不知怎的还无法解决><

adslcx 发表于 2007-12-28 18:43:39

顶。。谢谢大家了。。

页: [1] 2
查看完整版本: 请教大家如何采集这种上下分页的呢?