text: import requests
  import os
  import sys
  from tqdm import tqdm
  
  def create_folder(path):
      if not os.path.isdir(path):
          os.makedirs(path)
  
  def download_images(urls, path):
      create_folder(path)  # makes sure path exists
  
      for url in tqdm(urls):
          image_name = url.split("/")[-1]
          image_path = os.path.join(path, image_name)
  
          if not os.path.isfile(image_path):  # ignore if already downloaded
              response=requests.get(url,stream=True)
  
              with open(image_path,'wb') as outfile:
                  outfile.write(response.content)
  