From 7aa9f4885a3ecb6d65af6375188c4a7ea8f7714d Mon Sep 17 00:00:00 2001 From: Adam Tauber Date: Fri, 16 Oct 2015 11:53:52 +0200 Subject: [PATCH] [fix] unicode decoding --- searx/engines/bing_news.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/searx/engines/bing_news.py b/searx/engines/bing_news.py index 943bf882..a2397c48 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