bing-image-scraper
v0.0.1
Published
Bing image scraper
Downloads
17
Readme
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
});