我使用梦魇为当今的报纸创建自动化下载程序。我设法登录并进入指定页面。但是我无法找到如何使用梦魇下载文件。 var Nightmare = require('nightmare');
new Nightmare()
.goto('https://login.nrc.nl/login?service=http://digitaleeditie.nrc.nl/welkom')
.t
我试图从Drupal站点上的两个网页拉标题标签文本。我想用Nightmarejs。 这是到目前为止我的代码: // get the <title> text from inside the Drupal site
var Nightmare = require('nightmare');
var user = '[email protected]';
var pass = 'foobar';
我正在尝试使用phantom.js编写一个web-spider。但是,我收到了很多错误消息,我不知道为什么。我的代码如下所示: 使用Nightmare.js: var Nightmare = require('nightmare');
new Nightmare()
.goto('http://www.amazon.com/Aroma-Housewares-ASP-137-3-Qua