title: HTML Scraping with lxml and Requests
body: <p>I was doing like this tutorial, <a href="http://docs.python-guide.org/en/latest/scenarios/scrape/" rel="nofollow">http://docs.python-guide.org/en/latest/scenarios/scrape/</a>, to scrap an html table and it doesn't work well.</p>
  
  <p>My code:</p>
  
  <pre><code>import requests
  from lxml import html
  
  page = requests.get('http://www.dti.ufv.br/horario/horario.asp?ano=2015&amp;semestre=1&amp;depto=MAT')
  tree = html.fromstring(page.text)
  
  vaga = tree.xpath('/html/body/center/table/tbody/tr[2]/td/table[2]/tbody/tr[108]/td[9]')
  print vaga
  </code></pre>
  
  <p>I think the problem is with XPath... I did it like the tutorial said using Google Chrome but it's not like in tutorial. Anyone can help me get the right XPath? Thanks guys!</p>