From fcae567823532a6352ab4d7401403c34c1b40c20 Mon Sep 17 00:00:00 2001 From: j <0x006A@0x2620.org> Date: Sun, 9 Sep 2012 18:48:40 +0200 Subject: [PATCH] fix import --- README | 2 +- ox/web/flixter.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 = {