web_programming.download_images_from_google_query¶
Attributes¶
Functions¶
Searches google using the provided query term and downloads the images in a folder. |
Module Contents¶
- web_programming.download_images_from_google_query.download_images_from_google_query(query: str = 'dhaka', max_images: int = 5) int ¶
Searches google using the provided query term and downloads the images in a folder.
- Args:
query : The image search term to be provided by the user. Defaults to
“dhaka”. image_numbers : [description]. Defaults to 5.
- Returns:
The number of images successfully downloaded.
# Comment out slow (4.20s call) doctests # >>> download_images_from_google_query() 5 # >>> download_images_from_google_query(“potato”) 5
- web_programming.download_images_from_google_query.headers¶
- web_programming.download_images_from_google_query.image_count = 0¶