import requests


def get_pages(start, end, address):
    """
    Downloads the content from pages {start]-{end} and stores the html of the page in the array pages.
    :param start: First page to get.
    :param end: Last page to get.
    :param address: The address from which to get the content.
    :return: pages
    """
    pages = []
    for page in range(start, end+1):
        parameters = {
            'page': page,
        }

        r2 = requests.get(address, params=parameters)
        pages.append(r2.text)
    return pages