Noodlejs - Node.js web scraper
noodlejs.com
noodlejs.com
Noodle is a Node-based web scraper that also handles JSON, XML and other file formats. It was initially built as a hack project to replace a core subset of YQL.
All responses can be served as JSONP, to allow for cross-domain scraping from a website's front-end.
Selector queries can be used to grab a subset of a document - e.g. CSS selectors for HTML documents and dot-notation for JSON documents. It lets you request multiple documents in a single HTTP request, and a few other things.
I helped to guide an intern, Aaron Acerboni, at my company, Dharmafly, when he built it last year.
demoElement.innerHTML = JSON.stringify(data, null, 4);
And then use "<pre>" tag in the demoElement.http://npm.im/noodlejs is the NPM package
https://registry.npmjs.org/noodlejs/-/noodlejs-0.2.0.tgz is the package source
$ curl -kO https://registry.npmjs.org/noodlejs/-/noodlejs-0.2.0.tgz
The code is pure-JS (not a C++ addin)Npm package npm install noodle
Npm tarball curl -kO https://registry.npmjs.org/noodlejs/-/noodlejs-0.2.0.tgz
Like most it ignores page requiring state or anything dynamically generated on the client.
the selector: 'h3.r a' allows only to get the list of names