[fix] resulthunter: images in search results are not clickable

This commit is contained in:
Bnyro
2026-06-26 17:02:56 +02:00
parent a54722e692
commit 8605230eb8

View File

@@ -101,7 +101,7 @@ def _image_results(doc: "ElementBase") -> EngineResults:
res.types.Image(
url=extract_text(eval_xpath(result, "./@href")) or "",
title=extract_text(eval_xpath(result, "./img/@alt")) or "",
thumbnail_src=extract_text(eval_xpath(result, "./img/@src")) or "",
img_src=extract_text(eval_xpath(result, "./img/@src")) or "",
),
)
)