title: Web scraping, figuring out path
body: <p>I am trying to scrape some info from this page <a href="http://biz.yahoo.com/research/earncal/20151208.html" rel="nofollow">http://biz.yahoo.com/research/earncal/20151208.html</a></p>
  
  <p>I first try to scrape just the first company name <code>ABM Industries Inc</code>, but I get and empty list, and can't figure out why.</p>
  
  <pre><code>from lxml import html
  import requests   
  
  def symbol_scrape(date): #20151208
      path = 'http://biz.yahoo.com/research/earncal/'+str(date)+'.html'
  
      page = requests.get(path)
      tree=html.fromstring(page.text)
  
      comp = tree.xpath('//body//p//table[@border="0"]//tr//td[@valign="top"]//table[@cellpadding="2"]//tr[3]//td[1]/text()')
  
  
      return comp
  </code></pre>