mirror of
https://github.com/searxng/searxng
synced 2024-11-03 09:40:20 +00:00
Merge pull request #1546 from james-still/master
[fix] Update xPath value for Emojipedia engine
This commit is contained in:
commit
6a479f41c5
@ -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))
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user