diff options
author | Markus Heiser <markus.heiser@darmarIT.de> | 2022-07-24 19:21:49 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-24 19:21:49 +0200 |
commit | 6a479f41c51b639c141e7405f011f8a70ed9021e (patch) | |
tree | 85f51b6c288ddb729a50ad0438f4339b1f3446a5 | |
parent | 3ff576ea72ac1c91bbc23f7f3d8ac3b918fc6a95 (diff) | |
parent | 2516e21c58a76fa40e5d0c8183974032eaaeac3e (diff) | |
download | searxng-6a479f41c51b639c141e7405f011f8a70ed9021e.tar.gz searxng-6a479f41c51b639c141e7405f011f8a70ed9021e.zip |
Merge pull request #1546 from james-still/master
[fix] Update xPath value for Emojipedia engine
-rw-r--r-- | searx/engines/emojipedia.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/searx/engines/emojipedia.py b/searx/engines/emojipedia.py index b89267c0d..020bf689b 100644 --- a/searx/engines/emojipedia.py +++ b/searx/engines/emojipedia.py @@ -47,7 +47,7 @@ def response(resp): dom = html.fromstring(resp.text) - for result in eval_xpath_list(dom, "/html/body/div[2]/div[1]/ol/li"): + for result in eval_xpath_list(dom, "//ol[@class='search-results']/li"): extracted_desc = extract_text(eval_xpath_getindex(result, './/p', 0)) |