From 73ec2ba74ec735bb5e989cab0336ecca24a93701 Mon Sep 17 00:00:00 2001 From: Léo Bourrel Date: Wed, 19 Dec 2018 11:12:25 +0100 Subject: Update bing image engine with new image json format --- searx/engines/bing_images.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'searx/engines/bing_images.py') 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', -- cgit v1.2.3-54-g00ecf