Browse Source

[enh] suggestions @ yahoo engine

asciimoo 11 years ago
parent
commit
c16b9729b6
1 changed files with 7 additions and 6 deletions
  1. 7
    6
      engines.cfg_sample

+ 7
- 6
engines.cfg_sample View File

59
 content_xpath = //div[@id="entries"]//div[@class="text"]//div[@class="definition"]//text()
59
 content_xpath = //div[@id="entries"]//div[@class="text"]//div[@class="definition"]//text()
60
 
60
 
61
 [yahoo]
61
 [yahoo]
62
-engine        = xpath
63
-search_url    = http://search.yahoo.com/search?p={query}
64
-results_xpath = //div[@class="res"]
65
-url_xpath     = .//span[@class="url"]//text()
66
-content_xpath = .//div[@class="abstr"]//text()
67
-title_xpath   = .//h3/a//text()
62
+engine           = xpath
63
+search_url       = http://search.yahoo.com/search?p={query}
64
+results_xpath    = //div[@class="res"]
65
+url_xpath        = .//span[@class="url"]//text()
66
+content_xpath    = .//div[@class="abstr"]//text()
67
+title_xpath      = .//h3/a//text()
68
+suggestion_xpath = //div[@id="satat"]//a
68
 
69
 
69
 [youtube]
70
 [youtube]
70
 engine = youtube
71
 engine = youtube