summaryrefslogtreecommitdiff
path: root/searx
diff options
context:
space:
mode:
authorNoémi Ványi <kvch@users.noreply.github.com>2019-01-04 22:03:00 +0100
committerGitHub <noreply@github.com>2019-01-04 22:03:00 +0100
commit5b81f7c2cce17c5579eff4922d211dfef55b3ff9 (patch)
tree18325a83065405c437802f33c0b7c6231cbe8139 /searx
parent83a06d276de3cbaa0dabc9eca990e1298140898a (diff)
parentcf8e2246010534b4cb617fe96d198f23d7d038dd (diff)
Merge branch 'master' into bugfix_startpage
Diffstat (limited to 'searx')
-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',