import aiohttp


async def async_get_html(base_url, ssl=None):
    """get html for a url

    Parameters
    ------
    base_url (str): the original URL supplied

    Returns
    ------
    str: html for base_url
    """
    if ssl is None:
        ssl = False

    # may need to add this to ClientSession() connector=aiohttp.TCPConnector(ssl=False)
    conn = aiohttp.TCPConnector(ssl=ssl)
    async with aiohttp.ClientSession(connector=conn, trust_env=True) as client:
        async with client.get(base_url) as resp:  # ssl=False
            return await resp.text() if (resp.status == 200) else ""