diff --git a/README b/README index c45ba3c..c1e109d 100644 --- a/README +++ b/README @@ -1,7 +1,7 @@ python-ox - the web in a dict Depends: - python2.5 + python >= 2.6 python-chardet (http://chardet.feedparser.org/) python-feedparser (http://www.feedparser.org/) python-lxml (http://codespeak.net/lxml/) [optional] diff --git a/ox/web/flixter.py b/ox/web/flixter.py index 2d793b4..e6d6a0a 100644 --- a/ox/web/flixter.py +++ b/ox/web/flixter.py @@ -32,7 +32,7 @@ def get_data(id, timeout=-1): data = { "url": get_url(id), } - html = read_url(data['url'], timeout=timeout, timeout=True) + html = read_url(data['url'], timeout=timeout, unicode=True) doc = document_fromstring(html) props = {