code: def download_image(url: str = '', save_path: str = '',
                     unverified_ctx: bool = False) -> Union[None, str]:
      
      if unverified_ctx:
          ssl._create_default_https_context = ssl._create_unverified_context
  
      if url:
          image_name = url.rsplit('/')[-1]
  
          splitted_name = image_name.rsplit('.')
          if len(splitted_name) < 2:
              image_name = '{}.jpg'.format(uuid4())
          else:
              image_name = '{}.{}'.format(uuid4(), splitted_name[-1])
          full_image_path = path.join(save_path, image_name)
          request.urlretrieve(url, full_image_path)
          return full_image_path
      return None
docs: Download image and save in current directory on local machine.
  
      :param url: URL to image.
      :param save_path: Saving path.
      :param unverified_ctx: Create unverified context.
      :return: Path to downloaded image.
      :rtype: str or None