fix brave title parsing

This commit is contained in:
mat 2024-02-02 21:47:29 -06:00
parent bf4db99465
commit 9be9eb11a7

View File

@ -14,7 +14,7 @@ pub fn parse_response(body: &str) -> eyre::Result<EngineResponse> {
body, body,
ParseOpts::new() ParseOpts::new()
.result("#results > .snippet[data-pos]:not(.standalone)") .result("#results > .snippet[data-pos]:not(.standalone)")
.title(".url") .title(".title")
.href("a") .href("a")
.description(".snippet-content, .video-snippet > .snippet-description"), .description(".snippet-content, .video-snippet > .snippet-description"),
) )