Browse Source

[enh] using yahoo engine instead of xpath for yahoo searches

asciimoo 11 years ago
parent
commit
c6280966f5
1 changed files with 1 additions and 7 deletions
  1. 1
    7
      searx/settings.yml

+ 1
- 7
searx/settings.yml View File

@@ -84,13 +84,7 @@ engines:
84 84
     content_xpath : //div[@class="definition"]
85 85
 
86 86
   - name : yahoo
87
-    engine           : xpath
88
-    search_url       : http://search.yahoo.com/search?p={query}
89
-    results_xpath    : //div[@class="res"]
90
-    url_xpath        : .//h3/a/@href
91
-    title_xpath      : .//h3/a
92
-    content_xpath    : .//div[@class="abstr"]
93
-    suggestion_xpath : //div[@id="satat"]//a
87
+    engine : yahoo
94 88
 
95 89
   - name : youtube
96 90
     engine : youtube