diff options
| author | firebovine <firebovine@gmail.com> | 2016-09-10 17:08:34 -0400 |
|---|---|---|
| committer | firebovine <firebovine@gmail.com> | 2016-09-10 17:08:34 -0400 |
| commit | baeb3ff9112e0a178733f20bd55ed4a4d0088a75 (patch) | |
| tree | 416c8103898b98c884c84f2f67e6cad6c314361a /searx | |
| parent | 8d4dd3c5153d8e2990c36d727c812df16c38764c (diff) | |
fix xpath expressions for urban dictionary
Diffstat (limited to 'searx')
| -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 |