From cef109e0e0bd65379ce120ce80d2b815843a8fdb Mon Sep 17 00:00:00 2001 From: Markus Heiser Date: Sat, 30 Sep 2023 11:29:19 +0200 Subject: [PATCH] [fix] engine - moviepilot instead of thumbnail use img_src Instead of thumbnail use img_src in the result item, otherwise the "movies" categories looks clunky. Related: - https://github.com/searxng/searxng/commit/b4e0d2eedc94df2369a7661f9134fcfd8fd68af4#r128785388 Signed-off-by: Markus Heiser --- searx/engines/moviepilot.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/searx/engines/moviepilot.py b/searx/engines/moviepilot.py index 6bd2b2290..f9206c74c 100644 --- a/searx/engines/moviepilot.py +++ b/searx/engines/moviepilot.py @@ -105,11 +105,11 @@ def response(resp): item['metadata'] = html_to_text(result.get('meta_short', '')) if result.get('image'): - item['thumbnail'] = image_url.format(image_id=result['image'], filename=result['image_filename']) + item['img_src'] = image_url.format(image_id=result['image'], filename=result['image_filename']) else: item['url'] = result['url'] item['content'] = ', '.join([result['class'], result['info'], result['more']]) - item['thumbnail'] = result['image'] + item['img_src'] = result['image'] results.append(item)