code: def get_genres(self):
      
      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]
docs: Grab genre URLs from iTunes Podcast preview