This script will:

  1. Read the exact filenames from your text file
  2. Search for images using each filename (without adding any suffixes)
  3. Download the first matching image with the exact same filename as specified in your text file

Key improvements:

  1. Preserves your exact filenames – No suffix additions or modifications
  2. Maintains file extensions – Uses the extension from your filename, or defaults to .jpg if none is present
  3. Uses multiple search engines – Tries Bing first, then Google if needed
  4. Simplified interface – Just specify the text file and output directory

How to use it:

python filename-image-downloader.py filenames.txt --output-dir ./images

Your text file should contain filenames like:

Copyimage1.jpg
cool_picture.png
another_image

The script will download these images with exactly those filenames to your specified output directory.

You can download script; https://goktay.net/script/filesearchanddownload/find.py

Example txt: https://goktay.net/script/filesearchanddownload/txt.txt