import aiohttp


async def contests_html(
    session: aiohttp.ClientSession,
    page: int,
) -> str:
    """Get html of a contest page.

    Args:
        session (aiohttp.ClientSession) : session
        page (int) : number of page (0..)

    Returns:
        Html of page.
    """
    url = "https://codeforces.com/contests/page/{0}?complete=true".format(
        page,
    )
    async with session.get(url) as response:
        return await response.text()