1.0.4 • Published 11 months ago
pizzabay-scraper v1.0.4
🍕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"]
}
]