by ricardobeat · 13y ago · 0 comments
request 'http://website.com/list_of_stories.html', (err, body) ->
$ = cheerio.load(body)
callback $('#comments li a.commenter-name').map(cheerio::text)
Plus if you need to handle javascript/ajax, just replace that with jsdom/chimera with minor changes.https://github.com/mikeal/request https://github.com/sgentle/phantomjs-node