From c16b9729b60fd9d206ab8bce30fc2991f37b775a Mon Sep 17 00:00:00 2001 From: asciimoo Date: Wed, 13 Nov 2013 19:39:13 +0100 Subject: [PATCH] [enh] suggestions @ yahoo engine --- engines.cfg_sample | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/engines.cfg_sample b/engines.cfg_sample index 974693e..f7d0538 100644 --- 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