0
0
mirror of https://github.com/neon-mmd/websurfx.git synced 2025-01-05 02:58:23 -05:00

Merge branch 'rolling' into FEAT/427_export-import-settings-to-and-from-a-json-file-support-for-the-ui

This commit is contained in:
neon_arch 2024-12-24 22:24:59 +03:00 committed by GitHub
commit 2ec9818d12
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -30,8 +30,8 @@ impl Mojeek {
parser: SearchResultParser::new(
".result-col",
".results-standard li",
"a span.url",
"h2 a.title",
"h2 > a.title",
"a.ob",
"p.s",
)?,
})
@ -157,7 +157,7 @@ impl SearchEngine for Mojeek {
.parse_for_results(&document, |title, url, desc| {
Some(SearchResult::new(
title.inner_html().trim(),
url.inner_html().trim(),
url.attr("href")?.trim(),
desc.inner_html().trim(),
&["mojeek"],
))