summaryrefslogtreecommitdiff
path: root/searx/engines/bing_images.py
diff options
context:
space:
mode:
authorNoémi Ványi <kvch@users.noreply.github.com>2019-01-04 22:14:40 +0100
committerGitHub <noreply@github.com>2019-01-04 22:14:40 +0100
commitaeb6dab1872921fc129d47830620ae78bc185e53 (patch)
tree48097abd82e8e41f1022c16fc5aa46f5ee78914d /searx/engines/bing_images.py
parent0d86ed9c7e274c69bcee4bca838e19ec4f632699 (diff)
parent82bf9c6b290423b5b7b300fc3af68bbfa32f3d4f (diff)
Merge branch 'master' into master
Diffstat (limited to 'searx/engines/bing_images.py')
-rw-r--r--searx/engines/bing_images.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/searx/engines/bing_images.py b/searx/engines/bing_images.py
index 66e14c01f..876011f1d 100644
--- a/searx/engines/bing_images.py
+++ b/searx/engines/bing_images.py
@@ -88,9 +88,7 @@ def response(resp):
url = json_data.get('purl')
img_src = json_data.get('murl')
-
- thumb_json_data = loads(_quote_keys_regex.sub(r'\1"\2": \3', link.attrib.get('mad')))
- thumbnail = thumb_json_data.get('turl')
+ thumbnail = json_data.get('turl')
# append result
results.append({'template': 'images.html',