'Convenience method to extract the rendered content for a single section'

def get_section_content(self, section_id, ignore_heading=True):

    if self.rendered_html:
        content = self.rendered_html
    else:
        content = self.html
    return self.extract.section(content, section_id, ignore_heading)
