def get_text(soup):
    """
    Extracts text from the page source
    
    PARAMS:
        soup:BeautifulSoup object - page source converted to BeautifulSoup object
    RETURNS:
        text:str - text contents of the page
    """

    text = ""
    lead = soup.find("div", {"class": "delfi-article-lead"}).text
    text += lead
    p_tags = soup.find_all("p")
    for p in p_tags:
        if not p.text.endswith("..."):
            text += p.text + "\n "
    return text