summaryrefslogtreecommitdiff
path: root/searx/engines/bing_news.py
diff options
context:
space:
mode:
authorAlexandre Flament <alex@al-f.net>2017-02-12 14:58:49 +0100
committerAdam Tauber <asciimoo@gmail.com>2017-05-15 17:28:21 +0200
commitf5128c7cb96d7564cc7bebeae13a319557b84aaa (patch)
tree8cdb0bfaacaf00cd193e6a5afffef2464a7152ec /searx/engines/bing_news.py
parent4cffd78650c3f1dfce413ae0a1cd0453ebe6f277 (diff)
downloadsearxng-f5128c7cb96d7564cc7bebeae13a319557b84aaa.tar.gz
searxng-f5128c7cb96d7564cc7bebeae13a319557b84aaa.zip
[mod] add/modify image fetching for bing_news, qwant and twitter engines
Diffstat (limited to 'searx/engines/bing_news.py')
-rw-r--r--searx/engines/bing_news.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/searx/engines/bing_news.py b/searx/engines/bing_news.py
index 8e3cc517e..0e2975814 100644
--- a/searx/engines/bing_news.py
+++ b/searx/engines/bing_news.py
@@ -112,12 +112,11 @@ def response(resp):
# append result
if thumbnail is not None:
- results.append({'template': 'videos.html',
- 'url': url,
+ results.append({'url': url,
'title': title,
'publishedDate': publishedDate,
'content': content,
- 'thumbnail': thumbnail})
+ 'img_src': thumbnail})
else:
results.append({'url': url,
'title': title,