We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The following code, and the downloaded images are named arbitrary
from google_images_search import GoogleImagesSearch import os key = os.environ.get('GCS_DEVELOPER_KEY') print(key) cx = os.environ.get('GCS_CX') gis = GoogleImagesSearch(key, cx) _search_params = { 'q' : 'orange', 'num' : 11, 'safe' : 'high', 'fileType': 'jpg|png', 'imgType' : 'photo', } gis.search(search_params=_search_params, custom_image_name='org') gis.next_page() for image in gis.results(): print(image) image.download('H:\orange') # download location
The text was updated successfully, but these errors were encountered:
Hi,
Have you tried to use it like this?
gis.search(search_params=_search_params, path_to_dir='...', custom_image_name='my_image')
Sorry, something went wrong.
No branches or pull requests
The following code, and the downloaded images are named arbitrary
The text was updated successfully, but these errors were encountered: