You need to add no_network=False
when constructing the parser object. This option is set to True
by default.
From the documentation of parser options at http://lxml.de/parsing.html#parsers:
no_network - prevent network access when looking up external documents (on by default)