on master help sign in
Merge pull request #694 from firebovine/urbandictionary

fix xpath expressions for urban dictionary

commit390ad59bfcd256e9145d7ef539acaf3a83a73c8b authorAdam Tauber <asciimoo@gmail.com> dateSat 10 Sep 2016, 23:18 (10 years ago) parent8d4dd3cbaeb3ff
1 file changed+3−3
searx/settings.yml+3−3
searx/settings.yml+3−3
@@ -450,9 +450,9 @@ engines:
450450# - name : urbandictionary
451451# engine : xpath
452452# search_url : http://www.urbandictionary.com/define.php?term={query}
453−# url_xpath : //div[@class="word"]//a/@href
454−# title_xpath : //div[@class="word"]//a
455−# content_xpath : //div[@class="definition"]
453+# url_xpath : //*[@class="word"]/@href
454+# title_xpath : //*[@class="def-header"]
455+# content_xpath : //*[@class="meaning"]
456456# shortcut : ud
457457
458458 - name : yahoo