0.0.1 • Published 8 years ago

bing-image-scraper v0.0.1

Weekly downloads
10
License
-
Repository
-
Last release
8 years ago

Bing Image Scraper

This node.js library scrapes Bing for images. It was pulled from images-scraper library (https://github.com/pevers/images-scraper), to make it more lightweight and not to include unwanted dependencies.

Example usage

var ImageScraper = require('bing-image-scraper');
var bing = new ImageScraper();

// returns a promise
bing.list({
    keyword: 'Manchester United',
    num: 10
}).then(function (res) {
    // res is the result array
    console.log(res.url)
}).catch(function (err) {
    // err is the Error that maybe thrown here
});