A crawler might look something like this.
var Crawler = require('roach').job();
Crawler.extend({
// Your extra custom functions for parsing, etc.
custom: function(params, data, next){
// do some custom stuff with the data
next(data);
}
});
Crawler.visit(this.url)
.custom()
.find('a.link')
.each()
.click()
.done();