code: def _fetch_img_tuples(url:str, format:str='jpg', n_images:int=10) -> list:
      "Parse the Google Images Search for urls and return the image metadata as tuples (fname, url)."
      headers = {'User-Agent': 'Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/41.0.2228.0 Safari/537.36'}
      html = requests.get(url, headers=headers).text
      return _html_to_img_tuples(html, format=format, n_images=n_imagesf _fetch_img_tuples(url:str, format:str='jpg', n_images:int=10) -> list:
      "Parse the Google Images Search for urls and return the image metadata as tuples (fname, url)."
      headers = {'User-Agent': 'Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/41.0.2228.0 Safari/537.36'}
      html = requests.get(url, headers=headers).text
      return _html_to_img_tuples(html, format=format, n_images=n_images)
docs: Parse the Google Images Search for urls and return the image metadata as tuples (fname, url).