Skip to content

rauljordan/imagegrab.js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ImageGrab.js

Given a URL, fetches a list of all images in that webpage using node.js's request module

Build Status

Usage

function imgrab (url, callback)

  • url: a url string for the desired site
  • callback: a function to process the retrieved image URLs from the website
> var imgrab = require('imagegrab');
> imgrab('http://mysite.com', function (images) {
    console.log(images);
  })
> ['http://mysite.com/image1.jpg', 'http://mysite.com/image2.jpg']

Install

With npm do:

npm install imagegrab

License - MIT

About

Given a URL, fetches a list of all images in that webpage using Node.js

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published