https://github.com/aravinda89/google_image_downloader
google image downloader
https://github.com/aravinda89/google_image_downloader
dataset-creation google-image-downloader google-images
Last synced: 7 months ago
JSON representation
google image downloader
- Host: GitHub
- URL: https://github.com/aravinda89/google_image_downloader
- Owner: Aravinda89
- License: mit
- Created: 2021-03-19T06:16:41.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2023-05-02T17:56:27.000Z (over 2 years ago)
- Last Synced: 2025-01-25T16:42:38.064Z (9 months ago)
- Topics: dataset-creation, google-image-downloader, google-images
- Language: Jupyter Notebook
- Homepage:
- Size: 32.2 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Google Image Downloader
This Python script allows you to easily download multiple images from Google Images using their URLs.
Usage
* Open Google Images in Chrome and search for the images you want to download.
* Right-click on the webpage and select "Inspect" to open the Chrome DevTools.
* In the DevTools console, paste the code from code.txt and hit Enter. This will generate a urls.txt file with all the image URLs.
* Download the dwnld_imgs1.py script and place it in a folder with the urls.txt file.
* Open a terminal or command prompt and navigate to the folder where the dwnld_imgs1.py script and urls.txt file are located.
* Run the following command to start downloading the images:
```
python dwnld_imgs1.py -u urls.txt -o output_dir
```Replace output_dir with the name of the folder where you want to save the downloaded images.
Note: You may need to install the requests and tqdm Python packages before running the script. You can install them by running the following commands:
```
pip install requests
pip install tqdm
```
Disclaimer :
Please note that downloading images from Google Images may violate their terms of service and/or copyright laws. Use this script at your own risk.