diff options
| author | Adam Tauber <asciimoo@gmail.com> | 2016-09-10 23:18:57 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2016-09-10 23:18:57 +0200 |
| commit | 390ad59bfcd256e9145d7ef539acaf3a83a73c8b (patch) | |
| tree | 416c8103898b98c884c84f2f67e6cad6c314361a | |
| parent | 8d4dd3c5153d8e2990c36d727c812df16c38764c (diff) | |
| parent | baeb3ff9112e0a178733f20bd55ed4a4d0088a75 (diff) | |
Merge pull request #694 from firebovine/urbandictionary
fix xpath expressions for urban dictionary
| -rw-r--r-- | searx/settings.yml | 6 |
1 files changed, 3 insertions, 3 deletions
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 |