でインストールは完了です。 SpookyJSの使い方 大体はcasperjsのリファレンスを見ればどうにか理解できるはず。 大体使うメソッドは決められているので大雑把に説明します。 利用例 ここでは、サイトをキャプチャし、2秒毎にタイトルを1つずつログ出力します。 コード try { var Spooky = require('spooky'); } catch (e) { var Spooky = require('../lib/spooky'); } var x = require('spooky').selectXPath; var spooky = new Spooky({ child: { transport: 'http' }, casper: { logLevel: 'debug', verbose: true } }, function (err) { if (err) {
“Then I felt just like a fiend, It wasn’t even close to Halloween.” Geto Boys I needed to build a screen scraper for a Node.js application and spent a good deal of time making it all work. I wanted to share some lessons learned that I would have found very helpful to have known at the outset. This post is about getting PhantomJS, CasperJS and SpookyJS playing nicely and understanding what role eac
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く