summaryrefslogtreecommitdiff
path: root/searx/engines/bing_images.py
diff options
context:
space:
mode:
authorAdam Tauber <asciimoo@gmail.com>2015-08-28 14:51:32 +0200
committerAdam Tauber <asciimoo@gmail.com>2015-08-28 14:51:32 +0200
commit604f32f67276a34a3ead265ff89d3bb807902b26 (patch)
tree30b1f04e2a797f7842c2f86433b7d2a0a0f75e78 /searx/engines/bing_images.py
parentb9c8039d743376ab134adb3da146519c5353c36c (diff)
downloadsearxng-604f32f67276a34a3ead265ff89d3bb807902b26.tar.gz
searxng-604f32f67276a34a3ead265ff89d3bb807902b26.zip
[fix] bing unicode encode error - fixes #408
Diffstat (limited to 'searx/engines/bing_images.py')
-rw-r--r--searx/engines/bing_images.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/searx/engines/bing_images.py b/searx/engines/bing_images.py
index 839b8e5be..06850dfe1 100644
--- a/searx/engines/bing_images.py
+++ b/searx/engines/bing_images.py
@@ -63,7 +63,7 @@ def request(query, params):
def response(resp):
results = []
- dom = html.fromstring(resp.content)
+ dom = html.fromstring(resp.text)
# init regex for yaml-parsing
p = re.compile('({|,)([a-z]+):(")')