diff options
| author | asciimoo <asciimoo@gmail.com> | 2013-11-13 19:39:13 +0100 |
|---|---|---|
| committer | asciimoo <asciimoo@gmail.com> | 2013-11-13 19:39:13 +0100 |
| commit | c16b9729b60fd9d206ab8bce30fc2991f37b775a (patch) | |
| tree | 24b9ac2ac99cbff40d5ae0ab7695636a1f89d8e3 /engines.cfg_sample | |
| parent | 33969ca670408a6b049c68db76460ba09d4ea032 (diff) | |
[enh] suggestions @ yahoo engine
Diffstat (limited to 'engines.cfg_sample')
| -rw-r--r-- | engines.cfg_sample | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/engines.cfg_sample b/engines.cfg_sample index 974693e6a..f7d053825 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 |