1
0
mirror of https://github.com/searxng/searxng.git synced 2024-11-22 20:17:45 +01:00

add developer info as author

This commit is contained in:
ta 2022-08-24 17:50:38 +07:00
parent e5c1b64b1d
commit bcae7ae4e3

View File

@ -41,10 +41,11 @@ def response(resp):
{ {
'url': result['trackViewUrl'], 'url': result['trackViewUrl'],
'title': result['trackName'], 'title': result['trackName'],
'content': result['sellerName'] + ': ' + result['description'], 'content': result['description'],
'img_src': result['artworkUrl100'], 'img_src': result['artworkUrl100'],
'thumbnail': result['screenshotUrls'][0], 'thumbnail': result['screenshotUrls'][0],
'publishedDate': parse(result['currentVersionReleaseDate']), 'publishedDate': parse(result['currentVersionReleaseDate']),
'author': result['sellerName'],
} }
) )