'Main loop for parsing main subjects and their sub sections'

def parse_for_data(self):

    body_section = self.soup.find('div', {'class': 'section'})
    title = self.parse_title(body_section)
    first_paragraph = self.parse_for_first_paragraph(body_section)
    example = self.parse_example(body_section)
    content = self.parse_content(body_section)
    href = self.soup.find('link', {'rel': 'canonical'}).get('href')
    section = {'title': title, 'content': content, 'first_paragraph': first_paragraph, 'example': '<br><pre><code>{}</code></pre>'.format(example), 'anchor': href}
    self.parsed_data.append(section)
