diff options
| author | Markus Heiser <markus.heiser@darmarIT.de> | 2020-06-29 06:14:42 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-06-29 06:14:42 +0000 |
| commit | bdd24a6e7100d6df44400ca792b0468e4993a317 (patch) | |
| tree | 0a42e07e87a0cf27f5b47cc644763aa68e27205b /searx/engines | |
| parent | c9795ad01f62babd282074d1d6e836b3e66ad564 (diff) | |
| parent | e39ad892de49b93d39df893f3b134387b3a933b2 (diff) | |
Merge branch 'master' into blog-dev-in-lxc
Diffstat (limited to 'searx/engines')
| -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'], |