import json


def get_apartments_list(page_souped):
    """
        Takes a page that has been passed through BeautifulSoup and gets the list of results on the page.
    :param page_souped: <class 'bs4.BeautifulSoup'>, a page that has been passed through BeautifulSoup().
    :return: list of dictionaries from the given page.
    """

    scripts_parsed = page_souped.find_all(lambda tag: tag.name == 'script' and tag.get('type') == 'application/ld+json')
    apartments_list = json.loads(scripts_parsed[0].contents[0])['about']
    return apartments_list