Dozens of urls at a single command distance.
Cooked by Numonu 👨🍳
Generates a json file with links and categories of high quality images
npm install pizzabay-scraper --save-dev
Fill in the parameters and execute the command
npx pizzabay-scraper <category-of-images> <amount-of-images>
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"]
}
]