summaryrefslogtreecommitdiff
path: root/searx
diff options
context:
space:
mode:
authorAdam Tauber <asciimoo@gmail.com>2015-10-16 11:53:52 +0200
committerAdam Tauber <asciimoo@gmail.com>2015-10-16 11:53:52 +0200
commit7aa9f4885a3ecb6d65af6375188c4a7ea8f7714d (patch)
tree373de2768e4446f477c919883bf69e7f9a337556 /searx
parent0ad272c5cb81a9c69008aa86a1f29cd642ddf4ff (diff)
downloadsearxng-7aa9f4885a3ecb6d65af6375188c4a7ea8f7714d.tar.gz
searxng-7aa9f4885a3ecb6d65af6375188c4a7ea8f7714d.zip
[fix] unicode decoding
Diffstat (limited to 'searx')
-rw-r--r--searx/engines/bing_news.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/searx/engines/bing_news.py b/searx/engines/bing_news.py
index 943bf882e..a2397c48e 100644
--- a/searx/engines/bing_news.py
+++ b/searx/engines/bing_news.py
@@ -68,7 +68,7 @@ def request(query, params):
def response(resp):
results = []
- rss = etree.fromstring(resp.text)
+ rss = etree.fromstring(resp.content)
ns = rss.nsmap