def get_article_str(soup):
    title = soup.title.text
    tag = soup.find_all('div', class_='tag-data')
    tags = tag[0].text
    tags = tags.replace('Tags: ', '')
    paras = soup.find_all('p')
    description = paras[0].text
    main_text = ''
    if ('By ' not in paras[1].text):
        main_text = paras[1].text
    for i in range(2, len(paras)):
        if ((i > (len(paras) - 5)) and ('Bio' in paras[i].text)):
            continue
        elif ((i > (len(paras) - 5)) and ('Original' in paras[i].text)):
            continue
        elif ((i > (len(paras) - 5)) and ('Related' in paras[i].text)):
            continue
        elif ((i > (len(paras) - 5)) and ('disqus' in paras[i].text)):
            continue
        elif ((i > (len(paras) - 5)) and ('Pages' in paras[i].text)):
            continue
        else:
            main_text = ((main_text + ' ') + paras[i].text)
    article_str = ((((((title + '. ') + tags) + '. ') + description) + ' ') + main_text)
    return article_str
def get_article_str(soup):
    title = soup.title.text
    tag = soup.find_all('div', class_='tag-data')
    tags = tag[0].text
    tags = tags.replace('Tags: ', )
    paras = soup.find_all('p')
    description = paras[0].text
    main_text = 
    if ('By ' not in paras[1].text):
        main_text = paras[1].text
    for i in range(2, len(paras)):
        if ((i > (len(paras) - 5)) and ('Bio' in paras[i].text)):
            continue
        elif ((i > (len(paras) - 5)) and ('Original' in paras[i].text)):
            continue
        elif ((i > (len(paras) - 5)) and ('Related' in paras[i].text)):
            continue
        elif ((i > (len(paras) - 5)) and ('disqus' in paras[i].text)):
            continue
        elif ((i > (len(paras) - 5)) and ('Pages' in paras[i].text)):
            continue
        else:
            main_text = ((main_text + ' ') + paras[i].text)
    article_str = ((((((title + '. ') + tags) + '. ') + description) + ' ') + main_text)
    return article_str