mirror of
https://github.com/searxng/searxng
synced 2024-11-03 09:40:20 +00:00
add profile image to user results
This commit is contained in:
parent
b6fd7cd571
commit
c8acd4a3b6
@ -62,7 +62,12 @@ def response(resp):
|
||||
|
||||
for user in json_res['users'].values():
|
||||
results.append(
|
||||
{'title': user['name'], 'content': user['description'], 'url': 'https://twitter.com/' + user['screen_name']}
|
||||
{
|
||||
'title': user['name'],
|
||||
'content': user['description'],
|
||||
'url': 'https://twitter.com/' + user['screen_name'],
|
||||
'img_src': user['profile_image_url_https'],
|
||||
}
|
||||
)
|
||||
|
||||
return results
|
||||
|
Loading…
Reference in New Issue
Block a user