code: def get_auth_from_url(url):
      
      parsed = urlparse(url)
  
      try:
          auth = (unquote(parsed.username), unquote(parsed.password))
      except (AttributeError, TypeError):
          auth = ('', '')
  
      return auth
docs: Given a url with authentication components, extract them into a tuple of
      username,password.
  
      :rtype: (str,str)