commit: c16b9729b60fd9d206ab8bce30fc2991f37b775a
parent: 33969ca670408a6b049c68db76460ba09d4ea032
Author: asciimoo <asciimoo@gmail.com>
Date: Wed, 13 Nov 2013 19:39:13 +0100
[enh] suggestions @ yahoo engine
Diffstat:
1 file changed, 7 insertions(+), 6 deletions(-)
diff --git a/engines.cfg_sample b/engines.cfg_sample
@@ -59,12 +59,13 @@ title_xpath = //div[@id="entries"]//div[@class="word"]//span//text()
content_xpath = //div[@id="entries"]//div[@class="text"]//div[@class="definition"]//text()
[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()
+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()
+suggestion_xpath = //div[@id="satat"]//a
[youtube]
engine = youtube