cantino/huginn — pull request #239 by jdhuntington (2014-04-19 23:02:13+00:00)
Title: DOM node based website agent option

I wanted to scrape items from webpages conditionally based on their contents. For instance:

bar

I want to see this title

foo

I don't want to see this title

bar

I want to see this title too

This change lets `WebsiteAgent`:
1. select each instance of `.item`
2. drop every node that doesn't have a child matching `.select-me`
3. emit the contents of the child matching `.title` as an event

Also includes some refactoring of `WebsiteAgent`.