def fetch_links(html):
    """
    Fetch all links on a given page and return their hrefs in a list
    """
    elements = html.cssselect('a')
    return [e.get('href') for e in elements if e.get('href') is not None]