diff options
author | Adam Tauber <asciimoo@gmail.com> | 2015-10-16 11:53:52 +0200 |
---|---|---|
committer | Adam Tauber <asciimoo@gmail.com> | 2015-10-16 11:53:52 +0200 |
commit | 7aa9f4885a3ecb6d65af6375188c4a7ea8f7714d (patch) | |
tree | 373de2768e4446f477c919883bf69e7f9a337556 /searx | |
parent | 0ad272c5cb81a9c69008aa86a1f29cd642ddf4ff (diff) | |
download | searxng-7aa9f4885a3ecb6d65af6375188c4a7ea8f7714d.tar.gz searxng-7aa9f4885a3ecb6d65af6375188c4a7ea8f7714d.zip |
[fix] unicode decoding
Diffstat (limited to 'searx')
-rw-r--r-- | searx/engines/bing_news.py | 2 |
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 |