0.1.2 • Published 11 years ago
arania v0.1.2
Arania 
Node.js screen scraping and web crawling module heavily inspired by Yoi project.
Installation
$ npm install arania --saveUsage
Extends crawler 'Class'
First of all you have to require arania and extends the class with two
mandatory methods. Also you could export your extension as a module.
Use your crawler
Now you can import your crawler and pass some configurations:
'use strict'
RedditCrawler = require './examples/reddit.coffee'
# Options that you can pass to your crawler:
#   - cronTime: schedule crawler to run periodically
#   - requestsToStopper: timeout your crawler every X requests
#   - stopperTimeout: milliseconds for the crawler stopper
redditCrawler = new RedditCrawler
  cronTime: '00 38 * * * *'
  requestsToStopper: 100
  stopperTimeout: 30000