This Python script allows you to scrape images from Google Images using BeautifulSoup.
- Python 3.x
- BeautifulSoup (install using
pip install beautifulsoup4
) - Requests (install using
pip install requests
) - Jupyter Notebook (optional, but used in this example)
- Clone or download the repository.
- Open the Jupyter Notebook file (
image_scraping.ipynb
) in Jupyter Notebook. - Run each cell in the notebook sequentially to execute the code.
- Enter your search query when prompted.
- The script will scrape images from Google Images related to your query and save them to the specified directory.
- 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.
This project is licensed under the MIT License.