summaryrefslogtreecommitdiff
path: root/searx/settings.yml
diff options
context:
space:
mode:
authorThomas Renard <Thomas.Renard@g3la.de>2016-08-09 12:01:18 +0200
committerThomas Renard <Thomas.Renard@g3la.de>2016-08-09 12:01:18 +0200
commit9c18abfe5ab965350fd09cf86782201c345e0762 (patch)
tree1d7b519417d4bb236d7fd59618f2cd399000364d /searx/settings.yml
parentf1262ffa9e20a951eb001192d151beca39bc62fe (diff)
openrepos: Meego/Sailfish application repository
Diffstat (limited to 'searx/settings.yml')
-rw-r--r--searx/settings.yml12
1 files changed, 12 insertions, 0 deletions
diff --git a/searx/settings.yml b/searx/settings.yml
index 38e9f4752..ed140b08a 100644
--- a/searx/settings.yml
+++ b/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