google-images-download
google-images-download copied to clipboard
How to download all the photos in the current directory? And then rename it?
Instead of making a download folder, how can I download that in the current folder?
And afterwards rename the photos downloaded?
- output_directory -> Allows you to specify the main directory name in which the images are downloaded. If not specified, it will default to the ‘downloads’ directory. This directory is located in the path from where you run this code. The directory structure would look like this: <output_directory><image_directory>
And if you want to skip the <image_directory> directory:
- no_directory -> This option allows you to download images directly in the main directory (output_directory) without an image_directory. The directory structure would look like: <output_directory>
For renaming:
- prefix -> A word that you would want to prefix in front of the actual image name. This feature can be used to rename files for image identification purposes.