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 View File

@@ -290,6 +290,18 @@ engines:
290 290
     engine : openstreetmap
291 291
     shortcut : osm
292 292
 
293
+  - name : openrepos
294
+    engine : xpath
295
+    paging : True
296
+    search_url : https://openrepos.net/search/node/{query}?page={pageno}
297
+    url_xpath : //li[@class="search-result"]//h3[@class="title"]/a/@href
298
+    title_xpath : //li[@class="search-result"]//h3[@class="title"]/a
299
+    content_xpath : //li[@class="search-result"]//div[@class="search-snippet-info"]//p[@class="search-snippet"]
300
+    categories : files
301
+    timeout : 4.0
302
+    disabled : True
303
+    shortcut : or
304
+
293 305
   - name : photon
294 306
     engine : photon
295 307
     shortcut : ph