summaryrefslogtreecommitdiff
path: root/searx/engines
diff options
context:
space:
mode:
authorMarkus Heiser <markus.heiser@darmarIT.de>2020-06-29 06:14:42 +0000
committerGitHub <noreply@github.com>2020-06-29 06:14:42 +0000
commitbdd24a6e7100d6df44400ca792b0468e4993a317 (patch)
tree0a42e07e87a0cf27f5b47cc644763aa68e27205b /searx/engines
parentc9795ad01f62babd282074d1d6e836b3e66ad564 (diff)
parente39ad892de49b93d39df893f3b134387b3a933b2 (diff)
Merge branch 'master' into blog-dev-in-lxc
Diffstat (limited to 'searx/engines')
-rw-r--r--searx/engines/yahoo.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/searx/engines/yahoo.py b/searx/engines/yahoo.py
index 36c1a11f8..a6b4aeb9f 100644
--- a/searx/engines/yahoo.py
+++ b/searx/engines/yahoo.py
@@ -33,7 +33,7 @@ supported_languages_url = 'https://search.yahoo.com/web/advanced'
results_xpath = "//div[contains(concat(' ', normalize-space(@class), ' '), ' Sr ')]"
url_xpath = './/h3/a/@href'
title_xpath = './/h3/a'
-content_xpath = './/div[@class="compText aAbs"]'
+content_xpath = './/div[contains(@class, "compText")]'
suggestion_xpath = "//div[contains(concat(' ', normalize-space(@class), ' '), ' AlsoTry ')]//a"
time_range_dict = {'day': ['1d', 'd'],