Browse Source

openrepos: Meego/Sailfish application repository

Thomas Renard 8 years ago
parent
commit
9c18abfe5a
1 changed files with 12 additions and 0 deletions
  1. 12 0
      searx/settings.yml

+ 12 - 0
searx/settings.yml

@@ -290,6 +290,18 @@ engines:
     engine : openstreetmap
     shortcut : osm
 
+  - name : openrepos
+    engine : xpath
+    paging : True
+    search_url : https://openrepos.net/search/node/{query}?page={pageno}
+    url_xpath : //li[@class="search-result"]//h3[@class="title"]/a/@href
+    title_xpath : //li[@class="search-result"]//h3[@class="title"]/a
+    content_xpath : //li[@class="search-result"]//div[@class="search-snippet-info"]//p[@class="search-snippet"]
+    categories : files
+    timeout : 4.0
+    disabled : True
+    shortcut : or
+
   - name : photon
     engine : photon
     shortcut : ph