diff options
| author | Markus Heiser <markus.heiser@darmarit.de> | 2020-06-30 15:37:39 +0200 |
|---|---|---|
| committer | Markus Heiser <markus.heiser@darmarit.de> | 2020-06-30 15:37:39 +0200 |
| commit | f14a7add31c8db54c90ee7bd8504e3f395faf944 (patch) | |
| tree | 42690fa0e0b77f81f87201635e4d3f73c4330739 /searx/engines/yahoo.py | |
| parent | ca1c3bd15d60faf235894cb4f6f3a15150e3a6c3 (diff) | |
| parent | c59ca600423367d54e9b301cf086deeb66602831 (diff) | |
Merge branch 'master' of https://github.com/asciimoo/searx into csp-oscar-theme
Diffstat (limited to 'searx/engines/yahoo.py')
| -rw-r--r-- | searx/engines/yahoo.py | 2 |
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'], |