|
生成的翻页规则是- //*[@class='textDiv']/a[count(./span/text())>0 and count(following-sibling::a[position()=1]/strong/text())>0 and string-length(./span/text())>0]
复制代码 无法区分当前位置和下一位置,理想的是- //*[@class='textDiv']/a[count(.//*[@class='STYLE15']/text())>0 and count(following-sibling::a[position()=1]/strong/text())>0 and string-length(.//*[@class='STYLE15']/text())>0]
复制代码
这是程序的处理能力还不够。春节期间,我们把爬虫软件做了升级,这个问题就解决了,新版本周二发布
|
|
共 10 个关于本帖的回复 最后回复于 2017-2-9 12:02