code: def top_post(section: hug.types.one_of(('news', 'newest', 'show'))='news'):
      
      content = requests.get('https://news.ycombinator.com/{0}'.format(section)).content
      text = content.decode('utf-8')
      return text.split('<tr class=\'athing\'>')[1].split("<a href")[1].split(">")[1].split("<")[0]
docs: Returns the top post from the provided section