diff options
| author | Adam Tauber <asciimoo@gmail.com> | 2015-08-28 14:51:32 +0200 |
|---|---|---|
| committer | Adam Tauber <asciimoo@gmail.com> | 2015-08-28 14:51:32 +0200 |
| commit | 604f32f67276a34a3ead265ff89d3bb807902b26 (patch) | |
| tree | 30b1f04e2a797f7842c2f86433b7d2a0a0f75e78 /searx/engines/bing.py | |
| parent | b9c8039d743376ab134adb3da146519c5353c36c (diff) | |
[fix] bing unicode encode error - fixes #408
Diffstat (limited to 'searx/engines/bing.py')
| -rw-r--r-- | searx/engines/bing.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/searx/engines/bing.py b/searx/engines/bing.py index c72e6aeff..171606cf6 100644 --- a/searx/engines/bing.py +++ b/searx/engines/bing.py @@ -52,7 +52,7 @@ def request(query, params): def response(resp): results = [] - dom = html.fromstring(resp.content) + dom = html.fromstring(resp.text) # parse results for result in dom.xpath('//div[@class="sa_cc"]'): |