def get_section(f, first_delim, second_delim):
  """
  Some open-source indicator downloads contain multiple sections.
  This will return the section of the file f that is between the first_delim and second_delim

  :param f: The file containing the section to be processed
  :type f: file
  :param first_delim: A string representing the beginning of the section
  :type first_delim: str
  :param second_delim: A string representing the terminator of the section
  :type second_delim: str
  :returns: list
  """
  g = []

  line = f.readline()

  while line.find(first_delim) == -1:
    line = f.readline()
    if not line: return(None)

  line = f.readline()
  if second_delim != "":
    while line.find(second_delim) == -1:
      g.append(line)
      line = f.readline()
  else:
    for line in f:
      g.append(line)

  return(g)