code: def get_protocol(url):
          
  
          if url not in URLHelper.__cache:
              URLHelper.__cache[url] = urlparse(url)
  
          return URLHelper.__cache[url].scheme
docs: Get the protocol (e.g. http, https or ftp) of the given URL.
  
          Args:
              url (str): The URL to get the protocol from.
  
          Returns:
              str: The URL protocol