title: lxml etree parse failure (IOError)
body: <p>I am trying to run this program.  It was working fine until today.  Nothing was changed on my end in the code.    </p>
  
  <pre><code>import lxml.etree
  import urlparse
  import re
  
  def parse_url(url):
      return lxml.etree.parse(url, lxml.etree.HTMLParser())
  
  urlivv = "http://finance.yahoo.com/q?s=IVV"
  docivv = parse_url(urlivv)
  </code></pre>
  
  <p>This is my error message:</p>
  
  <p><code>IOError: Error reading file 'http://finance.yahoo.com/q?s=IVV': failed to load external entity "http://finance.yahoo.com/q?s=IVV"</code></p>
  
  <p>There was some documentation on the site about adding <code>StringIO</code> to the argument (see below).  But I find it odd I never had to do this before.  </p>
  
  <pre><code>tree = etree.parse(StringIO(myString))
  </code></pre>
  
  <p>Edit: More complete stack trace.</p>
  
  <pre><code>&gt;&gt;&gt; import lxml.etree
  &gt;&gt;&gt; tree = lxml.etree.parse('http://finance.yahoo.com/q?s=IVV', parser=lxml.etree.HTMLParser())
  Traceback (most recent call last):
    File "&lt;interactive input&gt;", line 1, in &lt;module&gt;
    File "src\lxml\lxml.etree.pyx", line 3427, in lxml.etree.parse (src\lxml\lxml.etree.c:81100)
    File "src\lxml\parser.pxi", line 1811, in lxml.etree._parseDocument (src\lxml\lxml.etree.c:117831)
    File "src\lxml\parser.pxi", line 1837, in lxml.etree._parseDocumentFromURL (src\lxml\lxml.etree.c:118178)
    File "src\lxml\parser.pxi", line 1741, in lxml.etree._parseDocFromFile (src\lxml\lxml.etree.c:117090)
    File "src\lxml\parser.pxi", line 1138, in lxml.etree._BaseParser._parseDocFromFile (src\lxml\lxml.etree.c:111636)
    File "src\lxml\parser.pxi", line 595, in lxml.etree._ParserContext._handleParseResultDoc (src\lxml\lxml.etree.c:105092)
    File "src\lxml\parser.pxi", line 706, in lxml.etree._handleParseResult (src\lxml\lxml.etree.c:106800)
    File "src\lxml\parser.pxi", line 633, in lxml.etree._raiseParseError (src\lxml\lxml.etree.c:105611)
  OSError: Error reading file 'http://finance.yahoo.com/q?s=IVV': failed to load external entity "http://finance.yahoo.com/q?s=IVV"
  </code></pre>