8000 GitHub - fuyei/looter · GitHub
[go: up one dir, main page]

Skip to content
7438
fuyeiPublic

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

14 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#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.

Alt text

##Limitation

Currently only supports HTTP protocol, ignores @script@ and @head@ tags. Only inspect the content of BODY tag.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages

0