def remove_wspace_soup(soup):
    """
    Given a BeatifulSoup object, retrieve the strings from it and remove whitespaces between these string chunks.
    :param soup:
    :return:
    """
    return ' '.join([''.join(i.splitlines()) for i in soup.strings])