from bs4 import BeautifulSoup


def extract_post_text(html):
    """Returns the contents of each post contained within the html."""
    soup = BeautifulSoup(html, 'html.parser')
    posts = soup.find_all('div', 'showforumtopic-message-contents-text')
    return [post.text for post in posts]