@property
  def sections(self):

    if not getattr(self, '_sections', False):
      query_params = {
        'action': 'parse',
        'prop': 'sections',
      }
      query_params.update(self.__title_query_param)

      request = _wiki_request(query_params)
      self._sections = [section['line'] for section in request['parse']['sections']]

    return self._sections
List of section titles from the table of contents on the page.
dataset/ETHPy150Open goldsmith/Wikipedia/wikipedia/wikipedia.py/WikipediaPage.sections