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:
commit
2ec9818d12
@ -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"],
|
||||
))
|
||||
|
Loading…
Reference in New Issue
Block a user