CasperJS除了第一个以外,不清除分页数据

问题描述

我正在尝试刮擦this

第一页加载正确,但是每当我运行以下代码时,它都不会给出任何错误并返回第一页的数据。我尝试了几种方法,但无法抓取其他页面数据。

    this.thenClick('tr[class^="bottomPaginator"] li:nth-child(5)').then(function() {
        this.waitFor(function() {
            return /\d+ Jobs/.test(this.fetchText('span.jobCount'));
        },processPage,terminate,4000);
    });

请告诉我CasperJS是否可行。

如果可能的话,我也对PY Scrapy感兴趣。

谢谢

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)

相关问答

错误1:Request method ‘DELETE‘ not supported 错误还原:...
错误1:启动docker镜像时报错:Error response from daemon:...
错误1:private field ‘xxx‘ is never assigned 按Alt...
报错如下,通过源不能下载,最后警告pip需升级版本 Requirem...