mirror of
https://github.com/searxng/searxng.git
synced 2025-12-28 06:30:02 +00:00
Update bing image engine with new image json format
This commit is contained in:
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user