Skip to content

Instantly share code, notes, and snippets.

@dstokes
Last active December 21, 2015 04:49
Show Gist options
  • Save dstokes/6252489 to your computer and use it in GitHub Desktop.
Save dstokes/6252489 to your computer and use it in GitHub Desktop.
{
"sites": [
{ "url": "thing.com", "selector": ".selector" },
{ "url": "other.thing.com", "selector": ".selector" },
]
}
module.exports = [
{ url: 'thing.com', parse: (body) ->
# cheerio parsing here, return normalized data struct
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment