import string


def get_url(query):
  """convert query to correct url

  Args:
      query (str): search term

  Returns:
      url (str): correct url
  """  
  url = "https://proceedings.neurips.cc/papers/search?q="
  query = query.translate(str.maketrans('', '', string.punctuation))
  query = query.replace(" ", "+")

  return url + query