Comment 2 for bug 690110

Revision history for this message
Aristotelis Mikropoulos (amikrop) wrote :

from lxml.etree import parse
import urllib

usock = urllib.urlopen('http://users.auth.gr/~aamikrop/test.html')
data = usock.read()
data = data.decode('utf8') # it doesn't work neither with or without this line
parse(data)