on master help sign in
[fix] yahoo engine - changed content_xpath

Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>

commit5293e580323c28476b27639156d0a780745e0760 authorMarkus Heiser <markus.heiser@darmarit.de> dateThu 25 Jun 2020, 21:45 (6 years ago) parent969b434
1 file changed+1−1
searx/engines/yahoo.py+1−1
searx/engines/yahoo.py+1−1
@@ -33,7 +33,7 @@ supported_languages_url = 'https://search.yahoo.com/web/advanced'
3333results_xpath = "//div[contains(concat(' ', normalize-space(@class), ' '), ' Sr ')]"
3434url_xpath = './/h3/a/@href'
3535title_xpath = './/h3/a'
36−content_xpath = './/div[@class="compText aAbs"]'
36+content_xpath = './/div[contains(@class, "compText")]'
3737suggestion_xpath = "//div[contains(concat(' ', normalize-space(@class), ' '), ' AlsoTry ')]//a"
3838
3939time_range_dict = {'day': ['1d', 'd'],