Skip to content

giaquy2000and4/GGAPI-search

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

18 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Google Image Downloader Pro

A powerful GUI tool that allows users to search and download multiple high-quality images from Google Images with just a few clicks.


Key Features

  • βœ… Intuitive, modern graphical interface (Dark Mode).
  • βœ… Allows pasting keywords directly or loading from a .txt file.
  • βœ… Choose the number of images per keyword (up to 20 images).
  • βœ… Supports .jpeg, .jpg, .png image formats.
  • βœ… Automatically saves images to your chosen directory.
  • βœ… Displays download progress, detailed logs, and success/failure statistics.
  • βœ… Non-blocking UI during downloads (utilizes multi-threading).

System Requirements

  • Python 3.7+

  • The following libraries:

    pip install pillow requests python-dotenv

How to Use

1. Run the program:

python image_downloader.py

2. In the interface:

  • Enter keywords in the left panel (or click πŸ“ Load .txt file).
  • Select the number of images to download per keyword and the save directory.
  • Click the ** Start Download** button.

Example Keyword File (keywords.txt):

cat
mountain landscape
anime drawing

βš™οΈ Google API Configuration (Required)

To use the program, you need:

  • Google Custom Search API Key
  • Search Engine ID (CX)

You can obtain them for free from:

Important: Fill in your API_KEY and CX in a .env file in the same directory as image_downloader.py before use. The application loads these credentials from the .env file.

Example .env file content:

API_KEY=YOUR_API_KEY_HERE
CX=YOUR_CX_HERE

πŸ›  Packaging to an .exe file (Windows)

If you want to create a single executable file:

pip install pyinstaller
pyinstaller --onefile --noconsole image_downloader.py

The .exe file will be located in the dist/ directory.


Sample Interface

Main screen


πŸ“„ License

MIT License – Free to use for personal or commercial purposes.


About

Auto download img by using Google API

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages