mirror of
https://github.com/searxng/searxng.git
synced 2024-11-15 01:00:12 +01:00
[fix] engine google: use extract_text everywhere
This commit is contained in:
parent
7f9ce3b96e
commit
0cfed94b08
@ -338,7 +338,7 @@ def response(resp):
|
||||
bubble.drop_tree()
|
||||
results.append(
|
||||
{
|
||||
'answer': item.xpath("normalize-space()"),
|
||||
'answer': extract_text(item),
|
||||
'url': (eval_xpath(item, '../..//a/@href') + [None])[0],
|
||||
}
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user