Grab genre URLs from iTunes Podcast preview

def get_genres(self):
    """
    Grab genre URLs from iTunes Podcast preview
    """
    page = r.get(ITUNES_GENRES_URL)
    tree = html.fromstring(page.content)
    elements = tree.xpath("//a[@class='top-level-genre']")
    return [e.attrib['href'] for e in elements]