scrim

scrape image URIs from HTML

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.

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)

Install with npm:

npm install scrim

MIT License