1
0
mirror of https://github.com/searxng/searxng.git synced 2024-11-19 02:40:11 +01:00

support playing videos directly

This commit is contained in:
ta 2022-08-24 16:48:31 +07:00
parent 79d06509c1
commit 040e24f9ad

View File

@ -60,6 +60,7 @@ def response(resp):
'content': result['description'], 'content': result['description'],
'publishedDate': datetime.utcfromtimestamp(result['creationTs']), 'publishedDate': datetime.utcfromtimestamp(result['creationTs']),
'thumbnail': result['images']['imageFbThumbnail']['url'], 'thumbnail': result['images']['imageFbThumbnail']['url'],
'iframe_src': result['images'].get('image460sv', {}).get('url'),
} }
) )