0.2.0 • Published 11 years ago
scrim v0.2.0
scrim - scrape image URIs from an HTML page
A through Stream to scrape image URIs from an HTML page. You pipe an HTML formatted string to it, and it emits image URIs.
Usage
var scrim = require('scrim')
, cop = require('cop')
, request = require('request')
request('http://npmjs.org')
.pipe(scrim())
.pipe(cop(function (uri) { return uri + '\n' }))
.pipe(process.stdout)
Installation
Install with npm:
npm install scrim