sinew-node

0.1.0 • Public • Published

Welcome to Sinew-Node

Sinew-Node collects structured data from web sites (screen scraping).

Sinew is distributed as a ruby gem:

npm install sinew-node

Example

Here's an example for collecting Reddit's topic list:

sinew = require '../lib/sinew-node'
sinew.get 'http://www.reddit.com/r/javascript/'->
  (@$ '#siteTable div.thing a.title').each (index)->
    console.log @innerHTML if index < 5

Features

  • Sinew caches all HTTP requests on disk. That makes it possible to iterate quickly. Crawl once and then continue to work on your recipe. Run the recipe over and over while you tune your CSS selectors and regular expressions.

Readme

Keywords

none

Package Sidebar

Install

npm i sinew-node

Weekly Downloads

1

Version

0.1.0

License

none

Last publish

Collaborators

  • sorrycc