SearXNG is a free internet metasearch engine which aggregates results from various search services and databases. Users are neither tracked nor profiled.
Python bingbravedegoogleduckduckgogooglemetasearchprivacypythonqwantsearchsearch-enginesearxsearxngstartpageyahoo
[fix] findfiles images: crashes due to changed HTML layout
Bnyro96c35f1ed339
diff --git a/searx/engines/findfiles.py b/searx/engines/findfiles.pyindex a00ce635c..397724aa0 100644--- a/searx/engines/findfiles.py+++ b/searx/engines/findfiles.py@@ -81,8 +81,8 @@ def response(resp: "SXNG_Response") -> EngineResults:):res.add(res.types.Image(- url=extract_text(eval_xpath(result, ".//div[contains(@class, 'caption')]/a/@href")) or "",- title=extract_text(eval_xpath(result, ".//div[contains(@class, 'caption')]/a")) or "",+ url=extract_text(eval_xpath(result, ".//figcaption/a/@href")) or "",+ title=extract_text(eval_xpath(result, ".//figcaption/a")) or "",thumbnail_src=extract_text(eval_xpath(result, ".//img/@src")) or "",))