title: how to use lxml to get the url
body: <p>I want to know how to use lxml to get a url,and then I can use xpath to parse the data I want .<br>
  Please guide me,thank you very much.</p>
  
  <pre><code>res = requests.get('http://www.ipeen.com.tw/comment/778246')
  doc = parse(res.content)
  name = doc.xpath("//meta[@itemprop='name']/@content")               
  print name
  </code></pre>
  
  <p>There are errors in my code:</p>
  
  <pre><code>   doc = parse(res.content)
    File "/Users/ome/djangoenv/lib/python2.7/site-packages/lxml/html/__init__.py", line 786, in parse
      return etree.parse(filename_or_url, parser, base_url=base_url, **kw)
    File "lxml.etree.pyx", line 3299, in lxml.etree.parse (src/lxml/lxml.etree.c:72655)
    File "parser.pxi", line 1791, in lxml.etree._parseDocument (src/lxml/lxml.etree.c:106263)
    File "parser.pxi", line 1817, in lxml.etree._parseDocumentFromURL (src/lxml/lxml.etree.c:106564)
    File "parser.pxi", line 1721, in lxml.etree._parseDocFromFile (src/lxml/lxml.etree.c:105561)
    File "parser.pxi", line 1122, in lxml.etree._BaseParser._parseDocFromFile (src/lxml/lxml.etree.c:100456)
    File "parser.pxi", line 580, in lxml.etree._ParserContext._handleParseResultDoc (src/lxml/lxml.etree.c:94543)
    File "parser.pxi", line 690, in lxml.etree._handleParseResult (src/lxml/lxml.etree.c:96003)
    File "parser.pxi", line 618, in lxml.etree._raiseParseError (src/lxml/lxml.etree.c:95015)
  IOError
  </code></pre>