Skip to content

SearXNG is a free internet metasearch engine which aggregates results from various search services and databases. Users are neither tracked nor profiled.

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

Bnyro834e1c3f12f8
diff --git a/searx/engines/lemmy.py b/searx/engines/lemmy.py
index c1a38f9b9..8c1b22151 100644
--- a/searx/engines/lemmy.py
+++ b/searx/engines/lemmy.py
@@ -129,7 +129,7 @@ def _get_posts(json):
img_src = None
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 = (
f"▲ {result['counts']['upvotes']} ▼ {result['counts']['downvotes']}"