bing-image-scraper

0.0.1 • Public • Published

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
});

Dependencies (3)

Dev Dependencies (6)

Package Sidebar

Install

npm i bing-image-scraper

Weekly Downloads

1

Version

0.0.1

License

none

Last publish

Collaborators

  • robertstettner