Ineed
ineed
Web scraping and HTML-reprocessing. The easy way.
ineed
allows you collect useful data from web pages using simple and nice API.
It doesn't build and traverse DOM-tree, it operates on sequence of HTML tokens instead. Whole processing is done in one-pass, therefore, it's blazing fast!
Get it: npm install --save ineed
Usage: ineed.<action>[.<plugin>...].<from*>
Where action
could be: collect
or reprocess
plugin
could be one of: .comments
.cssCode
.hyperlinks
.images
.jsCode
.scripts
.stylesheets
.texts
.title
from
could be: from
or fromHtml
P.S: One could write a custom plugin using the .using()
method.
Code sample:
1 2 3 4 |
|
1 2 3 |
|
GIF FTW!
Thanks to Ivan Nikulin for this cheeky module.