0
夜間のリクエストでdocument.title
とcookies
を1回リクエストする方法を教えてください。悪天候からのデータの評価データとクッキーを取得する
const Nightmare = require('nightmare')
Nightmare()
.goto('http://cnn.com')
.evaluate(() => document.title)
.end()
.then(console.log)
Nightmare()
.goto('http://cnn.com')
.cookies.get()
.end()
.then(console.log)