ps2008 发表于 2008-1-29 16:49:28

大家帮我看一看这个网址的分页列表怎么采?

大家帮我看一看这个网址的分页列表怎么采?

起始页:
http://jvcxp.com/bbs/thread-htm-fid-76.html 或 http://jvcxp.com/bbs/thread-htm-fid-76-search--orderway-lastpost-asc-DESC-page-1.html

http://jvcxp.com/bbs/thread-htm-fid-76-search--orderway-lastpost-asc-DESC-page-2.html

http://jvcxp.com/bbs/thread-htm-fid-76-search--orderway-lastpost-asc-DESC-page-3.html

http://jvcxp.com/bbs/thread-htm-fid-76-search--orderway-lastpost-asc-DESC-page-4.html

http://jvcxp.com/bbs/thread-htm-fid-76-search--orderway-lastpost-asc-DESC-page-5.html

http://jvcxp.com/bbs/thread-htm-fid-76-search--orderway-lastpost-asc-DESC-page-(*).html

vus520 发表于 2008-1-29 17:15:16

这直接从一到五呀

fireye 发表于 2008-1-29 17:15:56

http://jvcxp.com/bbs/thread-htm-fid-76-search--orderway-lastpost-asc-DESC-page-(*).html丛1-221页



文章地址必须包含http://jvcxp.com/bbs/read-htm-tid-(*)-page-1-fpage-1.html


网页页面区域丛<td style="width:17%" class="y-style">最后发表</td>到<tr><td style="height:8px"></td>


规则做好,下载测试一下,我在自己的电脑上测试通过,如果采集回复的话,点内容那里"该标签循环"

[ 本帖最后由 fireye 于 2008-1-29 18:46 编辑 ]

ps2008 发表于 2008-1-29 18:28:04

原帖由 fireye 于 2008-1-29 17:15 发表 http://bbs.locoy.com/images/common/back.gif
http://jvcxp.com/bbs/thread-htm-fid-76-search--orderway-lastpost-asc-DESC-page-(*).html丛1-221页



文章地址必须包含http://jvcxp.com/bbs/read-htm-tid-(*)-page-1-fpage-1.html


网页页面区域丛最 ...



朋友你做的好像只能采集第一个分页的,其它的分页采不到,也探测不到????

fireye 发表于 2008-1-29 18:31:09

楼主不好意思,刚才那个忘了替换成变量



你说的分页实际上论坛帖子的分页,根本不是网址列表的分页,你明白不?我们只要探测网址列表时采集内容列表的第一页就行了,也就是帖子的第一页,如果该帖子有分页就自动采集的,因为我在规则里设置了,分页采集,而不是在网址列表那里添加分页,不知道你明白不明白。

注意了,这个站在登录才能采集分页,也就是要COOKIES

[ 本帖最后由 fireye 于 2008-1-29 18:56 编辑 ]

ps2008 发表于 2008-1-29 19:42:02

原帖由 fireye 于 2008-1-29 18:31 发表 http://bbs.locoy.com/images/common/back.gif
楼主不好意思,刚才那个忘了替换成变量



你说的分页实际上论坛帖子的分页,根本不是网址列表的分页,你明白不?我们只要探测网址列表时采集内容列表的第一页就行了,也就是帖子的第一页,如果该帖子有分页就自 ...

不知道为什么,我就只能采集14条,其它的都采不到,按道理5页不可能只有14条???

ps2008 发表于 2008-1-29 22:23:30

原帖由 fireye 于 2008-1-29 17:15 发表 http://bbs.locoy.com/images/common/back.gif
http://jvcxp.com/bbs/thread-htm-fid-76-search--orderway-lastpost-asc-DESC-page-(*).html丛1-221页



文章地址必须包含http://jvcxp.com/bbs/read-htm-tid-(*)-page-1-fpage-1.html


网页页面区域丛最 ...


http://jvcxp.com/bbs/thread-htm-fid-76-search--orderway-lastpost-asc-DESC-page-(*).html丛1-221页



文章地址必须包含http://jvcxp.com/bbs/read-htm-tid-(*)-page-1-fpage-1.html

谢谢您的帮助,问题我以解决,是这里要加一个变量....
文章地址必须包含http://jvcxp.com/bbs/read-htm-tid-(*)-page-1-fpage-1.html这里这个1要改为(*)
页: [1]
查看完整版本: 大家帮我看一看这个网址的分页列表怎么采?