Skip to content

Uses Bing Image Search API to find requested images of whatever you want

Notifications You must be signed in to change notification settings

natdosan/Image-Scraper-using-Bing-API

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Image Scraper using Bing API

Usage

  1. find your azure subscription key for Bing Image Search api
  2. put your subscription key in .env assigned to BING_KEY

ex:

BING_KEY=9840937328974383928738
  1. Start the script by using node index.js or npm start.

Instead of typing the search query and maximum amount in the script, you can supply arguments:

node index.js -s "Trees" -a 30
# Get a maximum of 30 photos of "Trees"

You can also specify an output directory:

node index.js -s "Trees" -a 30 -o ./trees

About

Uses Bing Image Search API to find requested images of whatever you want

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published