皇家礼炮 2019-02-18 18:24:22
这个规则可以采集到帖子列表,但是用户名和发帖时间不能全部出来,于是我把发帖时间那一段代码完善后,发现采集的帖子数量又减少了。
下面为导出的方案对应SQL语句,软件的‘选项设置→数据库维护→执行该SQL命令’,可快速新建本方案!
insert_kakawz into rule(isdo,code,url,before,after,regular,buquan,cookie,tindex,uindex,oindex,ua,class,url,name,type,postinfo,tcode) values('0','1','http://bbs.mllj.net/forum.php?mod=forumdisplay&fid=35&filter=author&orderby=dateline','<table summary="forum_35" cellspacing="0" cellpadding="0" id="threadlisttableid">','end of table "forum_G','<a href=http://bbs.kakawz.com/333/"http://bbs.mllj.net/forum.php/?mod=viewthread&tid=[int]&extra=page%3D1%26filter%3Dauthor%26orderby%3Ddateline" onclick="atarget(this)" class="s xst">[var][var0] c="1">[var][var0]lastpost#lastpost">[var0]','http://bbs.mllj.net/forum.php?mod=viewthread&tid=[1]&extra=page%3D1%26filter%3Dauthor%26orderby%3Ddateline','eAJn_2132_sid=YCYrYI; eAJn_2132_lastact=1550483106%09forum.php%09forumdisplay; eAJn_2132_st_t=0%7C1550483106%7Cc13b7ae446c7664e20c2c3c16ce053b6; eAJn_2132_forum_lastvisit=D_35_1550483106; eAJn_2132_saltkey=x8EEiIjj; eAJn_2132_lastvisit=1550459260; eAJn_2132_atarget=1; eAJn_2132_visitedfid=35','2','1','','User-Agent:Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/38.0.2125.122 Safari/537.36 SE 2.X MetaSr 1.0
Accept: */*
Referer: http://bbs.mllj.net/forum.php?mod=forumdisplay&fid=35&filter=author&orderby=dateline
Accept-Language: zh-cn',3,'http://bbs.mllj.net/forum.php?mod=forumdisplay&fid=35&filter=author&orderby=dateline','庐江视点','8','','')
皇家礼炮 2019-02-18 18:25:10
<a href=http://bbs.kakawz.com/333/"http://bbs.mllj.net/forum.php/?mod=viewthread&tid=[int]&extra=page%3D1%26filter%3Dauthor%26orderby%3Ddateline" onclick="atarget(this)" class="s xst">[var][var0]c="1">[var][var0]lastpost#lastpost">[var0]