summaryrefslogtreecommitdiff
path: root/searx/engines
diff options
context:
space:
mode:
authorMarkus Heiser <markus.heiser@darmarIT.de>2020-06-26 08:33:37 +0000
committerGitHub <noreply@github.com>2020-06-26 08:33:37 +0000
commit5f201dea7d78c8697ad1b74f3baf23dc9a139b55 (patch)
treece398ea693badcf4f8291b86de174712a10835ed /searx/engines
parenta059c59cea0e1c1232822ab66e7c7780efbe0cbf (diff)
parent040adecabf0540ebcbb672dcd20097bce3535503 (diff)
Merge branch 'master' into about-opensearch
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'],