Selaa lähdekoodia

[enh] suggestions @ yahoo engine

asciimoo 11 vuotta sitten
vanhempi
commit
c16b9729b6
1 muutettua tiedostoa jossa 7 lisäystä ja 6 poistoa
  1. 7
    6
      engines.cfg_sample

+ 7
- 6
engines.cfg_sample Näytä tiedosto

@@ -59,12 +59,13 @@ title_xpath   = //div[@id="entries"]//div[@class="word"]//span//text()
59 59
 content_xpath = //div[@id="entries"]//div[@class="text"]//div[@class="definition"]//text()
60 60
 
61 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 70
 [youtube]
70 71
 engine = youtube