mirror of
https://github.com/searx/searx
synced 2025-09-01 23:16:04 +00:00
yahoo engine - don't lump all search suggestions together (#3208)
This commit is contained in:
@@ -143,7 +143,7 @@ def response(resp):
|
|||||||
'title': title,
|
'title': title,
|
||||||
'content': content})
|
'content': content})
|
||||||
|
|
||||||
for suggestion in eval_xpath_list(dom, '//div[contains(@class, "AlsoTry")]'):
|
for suggestion in eval_xpath_list(dom, '//div[contains(@class, "AlsoTry")]//table//a'):
|
||||||
# append suggestion
|
# append suggestion
|
||||||
results.append({'suggestion': extract_text(suggestion)})
|
results.append({'suggestion': extract_text(suggestion)})
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user