Browse Source

Merge pull request #656 from cy8aer/openrepos

openrepos: Meego/Sailfish application repository
Adam Tauber 8 years ago
parent
commit
4fae62cd88
1 changed files with 12 additions and 0 deletions
  1. 12
    0
      searx/settings.yml

+ 12
- 0
searx/settings.yml View File

@@ -300,6 +300,18 @@ engines:
300 300
     engine : openstreetmap
301 301
     shortcut : osm
302 302
 
303
+  - name : openrepos
304
+    engine : xpath
305
+    paging : True
306
+    search_url : https://openrepos.net/search/node/{query}?page={pageno}
307
+    url_xpath : //li[@class="search-result"]//h3[@class="title"]/a/@href
308
+    title_xpath : //li[@class="search-result"]//h3[@class="title"]/a
309
+    content_xpath : //li[@class="search-result"]//div[@class="search-snippet-info"]//p[@class="search-snippet"]
310
+    categories : files
311
+    timeout : 4.0
312
+    disabled : True
313
+    shortcut : or
314
+
303 315
   - name : photon
304 316
     engine : photon
305 317
     shortcut : ph