mirror of
https://github.com/searxng/searxng.git
synced 2024-11-29 06:01:02 +00:00
[fix] engine google: use extract_text everywhere
This commit is contained in:
parent
7f9ce3b96e
commit
0cfed94b08
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue