Skip to content

SearXNG is a free internet metasearch engine which aggregates results from various search services and databases. Users are neither tracked nor profiled.

fix xpath expressions for urban dictionary

firebovinebaeb3ff9112e
diff --git a/searx/settings.yml b/searx/settings.yml
index 4969c4ac6..308a0bd45 100644
--- a/searx/settings.yml
+++ b/searx/settings.yml
@@ -450,9 +450,9 @@ engines:
# - name : urbandictionary
# engine : xpath
# search_url : http://www.urbandictionary.com/define.php?term={query}
-# url_xpath : //div[@class="word"]//a/@href
-# title_xpath : //div[@class="word"]//a
-# content_xpath : //div[@class="definition"]
+# url_xpath : //*[@class="word"]/@href
+# title_xpath : //*[@class="def-header"]
+# content_xpath : //*[@class="meaning"]
# shortcut : ud
- name : yahoo