#looter
Looter is a Node.js app that allows you to fetch HTML content of web sites and transfer the HTML tags into JSON objects. The input of looter is URL, the output is the HTML tags structures in JSON format.
Looter is based on cheerio, a jQuery-like parser and selector to load HTML and manipulate on the server side.
##Installation
Before installing looter, make sure node.js is installed in your machine.
git clone git://github.com/fuyei/looter.git
Once the packages cloned to your local machine, use npm to install:
npm install
Then it's done.
##Get Started Start the node app in command line:
D:\looter\node app
Then you should see the server is running:
D:\looter\node app
Express server listening on port 3000
That looter app will be initiated, then open up a browser and go to http://localhost:3000. You will see a looter viewer.
##Limitation
Currently only supports HTTP protocol, ignores @script@ and @head@ tags. Only inspect the content of BODY tag.