fix google parser
This commit is contained in:
parent
d9be3107d8
commit
3afcb399a0
@ -32,7 +32,9 @@ pub fn parse_response(body: &str) -> eyre::Result<EngineResponse> {
|
||||
.result("div.g > div, div.xpd > div:first-child")
|
||||
.title("h3")
|
||||
.href("a[href]")
|
||||
.description("div[data-sncf='2'], div[style='-webkit-line-clamp:2']")
|
||||
.description(
|
||||
"div[data-sncf='2'], div[data-sncf='1,2'], div[style='-webkit-line-clamp:2']",
|
||||
)
|
||||
.featured_snippet("block-component")
|
||||
.featured_snippet_description(QueryMethod::Manual(Box::new(|el: &ElementRef| {
|
||||
let Some(description_container_el) = el
|
||||
|
Loading…
Reference in New Issue
Block a user