web_programming.download_images_from_google_query ================================================= .. py:module:: web_programming.download_images_from_google_query Attributes ---------- .. autoapisummary:: web_programming.download_images_from_google_query.headers web_programming.download_images_from_google_query.image_count Functions --------- .. autoapisummary:: web_programming.download_images_from_google_query.download_images_from_google_query Module Contents --------------- .. py:function:: 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 .. py:data:: headers .. py:data:: image_count :value: 0