diff options
| author | Markus Heiser <markus.heiser@darmarIT.de> | 2020-06-26 08:09:33 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-06-26 08:09:33 +0000 |
| commit | 5fac6cffa2fc974e12fc4c07530561c380fbb1f0 (patch) | |
| tree | 765aab5a0f0eec32ca14012fce186f1069c15014 /searx/engines | |
| parent | fc370faa5bf2d11031a389c39f8a49d85f2f164c (diff) | |
| parent | 040adecabf0540ebcbb672dcd20097bce3535503 (diff) | |
Merge branch 'master' into gigablast
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'], |