Skip to content

Latest commit

 

History

History
28 lines (22 loc) · 1.05 KB

README.md

File metadata and controls

28 lines (22 loc) · 1.05 KB

Image Scraping with BeautifulSoup

Overview

This Python script allows you to scrape images from Google Images using BeautifulSoup.

Prerequisites

  • Python 3.x
  • BeautifulSoup (install using pip install beautifulsoup4)
  • Requests (install using pip install requests)
  • Jupyter Notebook (optional, but used in this example)

Usage

  1. Clone or download the repository.
  2. Open the Jupyter Notebook file (image_scraping.ipynb) in Jupyter Notebook.
  3. Run each cell in the notebook sequentially to execute the code.
  4. Enter your search query when prompted.
  5. The script will scrape images from Google Images related to your query and save them to the specified directory.

Note

  • Please make sure to use this script responsibly and in accordance with Google's terms of service.
  • It's recommended to use this script for educational or research purposes only.
  • Be aware of copyright issues when downloading images from the web.

Author

Rahul Shelke

License

This project is licensed under the MIT License.