Skip to content

Numonu/pizzabay-scraper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 

Repository files navigation

High Quality Image Scraping
Dozens of urls at a single command distance.

Cooked by Numonu 👨‍🍳

🍕bay scrapper

Generates a json file with links and categories of high quality images

Installation

With NPM

npm install pizzabay-scraper --save-dev

Getting Started

Fill in the parameters and execute the command

npx pizzabay-scraper <category-of-images> <amount-of-images>

Example

get 3 images of pizza

npx pizzabay-scraper pizza 3

Generates the following JSON file

[
	{
		"imageUrl": "https://cdn.pixabay.com/photo/2022/03/04/00/47/wine-7046276_640.jpg",
		"tags": ["wine", "pizza", "food"]
	},
	{
		"imageUrl": "https://cdn.pixabay.com/photo/2014/04/02/14/12/pizza-306495_640.png",
		"tags": ["pizza", "mushroom", "peppers"]
	},
	{
		"imageUrl": "https://cdn.pixabay.com/photo/2014/06/10/15/47/pizza-366111_640.jpg",
		"tags": ["pizza", "chef", "cook"]
	}
]

Releases

No releases published

Packages

No packages published