Skip to content

Images Scraper CLI is a command-line tool that allows you to scrape and download images from the internet based on a specified search query using the images-scraper package. It provides a simple and customizable way to download a specified number of images and save them to a designated output directory.

Notifications You must be signed in to change notification settings

Ibrahimrahhal/images-scrapper-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Images Scraper CLI

Overview

Images Scraper CLI is a command-line tool that allows you to scrape and download images from the internet based on a specified search query using the images-scraper package. It provides a simple and customizable way to download a specified number of images and save them to a designated output directory.

Installation

Before using the Images Scraper CLI, make sure you have Node.js installed on your machine.

npm install -g images-scraper-cli

Usage

Run the CLI using the following command:

images-scraper-cli <search query> <number of images> <output directory>
  • <search query>: The query for images you want to search for.
  • <number of images> (optional): The number of images to download (default is 10).
  • <output directory> (optional): The directory where the images will be saved (default is './scrapped-images').

Example

images-scraper-cli "cats" 10 "./cats"

Notes

  • If the specified output directory does not exist, it will be created automatically.
  • Supported image file extensions are "png", "jpg", "jpeg", "gif", and "webp".

License

This project is licensed under the MIT License - see the LICENSE file for details.

Acknowledgments

Ibrahim Rahhal for the images-scraper package.

Contributions

Contributions are welcome! Please open an issue or submit a pull request with any improvements or bug fixes.

Disclaimer

This project is for educational and personal use only. Use it responsibly and respect the terms of service of the websites you are scraping images from.

About

Images Scraper CLI is a command-line tool that allows you to scrape and download images from the internet based on a specified search query using the images-scraper package. It provides a simple and customizable way to download a specified number of images and save them to a designated output directory.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published