Skip to content

scrape a page and get an array of all the `<a>` links to pngs or jpegs

Notifications You must be signed in to change notification settings

max-mapper/get-images

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

get-images

scrape a page and get an array of all the <a> links to pngs or jpegs

Installation

npm install get-images

Usage

var getImages = require('get-images')
getImages('http://substack.net/images', function(err, images) {
  // => images is an array of image urls like ["http://substack.net/images/1up.png"]
})

Bonus feature

there is a built in proxy server (server.js) that you should run with sudo server.js and then open http://localhost/?url=http://substack.net/images/

License

BSD

About

scrape a page and get an array of all the `<a>` links to pngs or jpegs

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published