summaryrefslogtreecommitdiff
path: root/engines.cfg_sample
diff options
context:
space:
mode:
authorasciimoo <asciimoo@gmail.com>2013-10-26 02:24:10 +0200
committerasciimoo <asciimoo@gmail.com>2013-10-26 02:24:10 +0200
commitc09d69bd2c2f0f8d37c03f94a2e6a97636fedba1 (patch)
tree869cb9a41bc24916219ca55e0126b56ca5b8dc9a /engines.cfg_sample
parentbadd9885459edf76c1f99f6e65feeb24185e88df (diff)
downloadsearxng-c09d69bd2c2f0f8d37c03f94a2e6a97636fedba1.tar.gz
searxng-c09d69bd2c2f0f8d37c03f94a2e6a97636fedba1.zip
[enh] yahoo xpath engine added
Diffstat (limited to 'engines.cfg_sample')
-rw-r--r--engines.cfg_sample8
1 files changed, 8 insertions, 0 deletions
diff --git a/engines.cfg_sample b/engines.cfg_sample
index aa9a7b82f..c68147d78 100644
--- a/engines.cfg_sample
+++ b/engines.cfg_sample
@@ -47,6 +47,14 @@ engine = startpage
engine = twitter
categories = social media
+[yahoo]
+engine = xpath
+search_url = http://search.yahoo.com/search?p={query}
+results_xpath = //div[@class="res"]
+url_xpath = .//span[@class="url"]//text()
+content_xpath = .//div[@class="abstr"]//text()
+title_xpath = .//h3/a//text()
+
[youtube]
engine = youtube
categories = videos