From 9c18abfe5ab965350fd09cf86782201c345e0762 Mon Sep 17 00:00:00 2001 From: Thomas Renard Date: Tue, 9 Aug 2016 12:01:18 +0200 Subject: [PATCH] openrepos: Meego/Sailfish application repository --- searx/settings.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/searx/settings.yml b/searx/settings.yml index 38e9f475..ed140b08 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