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

[mod] engine lemmy: increase thumbnail quality to align with theme

This commit is contained in:
Bnyro 2023-08-10 11:58:14 +02:00 committed by Markus Heiser
parent c381fc001f
commit 834e1c3f12

View File

@ -129,7 +129,7 @@ def _get_posts(json):
img_src = None img_src = None
if result['post'].get('thumbnail_url'): if result['post'].get('thumbnail_url'):
img_src = result['post']['thumbnail_url'] + '?format=webp&thumbnail=128' img_src = result['post']['thumbnail_url'] + '?format=webp&thumbnail=208'
metadata = ( metadata = (
f"▲ {result['counts']['upvotes']} ▼ {result['counts']['downvotes']}" f"▲ {result['counts']['upvotes']} ▼ {result['counts']['downvotes']}"