Browse Source

Merge pull request #776 from asciimoo/voat-engine

add voat.co engine
Adam Tauber 8 years ago
parent
commit
be6ae81cb2
1 changed files with 12 additions and 0 deletions
  1. 12 0
      searx/settings.yml

+ 12 - 0
searx/settings.yml

@@ -544,6 +544,18 @@ engines:
     # See : http://mymemory.translated.net/doc/usagelimits.php
     # See : http://mymemory.translated.net/doc/usagelimits.php
     # api_key : ''
     # api_key : ''
 
 
+  - name : voat
+    engine: xpath
+    shortcut: vo
+    categories: social media
+    search_url : https://voat.co/search?q={query}
+    url_xpath : //p[contains(@class, "title")]/a/@href
+    title_xpath : //p[contains(@class, "title")]/a
+    content_xpath : //span[@class="domain"]
+    timeout : 10.0
+    disabled : True
+
+
 #The blekko technology and team have joined IBM Watson! -> https://blekko.com/
 #The blekko technology and team have joined IBM Watson! -> https://blekko.com/
 #  - name : blekko images
 #  - name : blekko images
 #    engine : blekko_images
 #    engine : blekko_images