logo

searx

My custom branche(s) on searx, a meta-search engine git clone https://hacktivis.me/git/searx.git
commit: 9b6307a36518179e7b89d6b1966a1384c52bab5f
parent e74aaa781e836eeac73af68aa1b4f5014b58b4d3
Author: misnyo <misnyo@misnyo.eu>
Date:   Thu, 31 Aug 2017 17:18:04 +0200

[fix] gitlab search fixed for proper api usage

Diffstat:

Msearx/settings.yml13+++++++------
1 file changed, 7 insertions(+), 6 deletions(-)

diff --git a/searx/settings.yml b/searx/settings.yml @@ -242,15 +242,16 @@ engines: disabled: True - name : gitlab - engine : xpath + engine : json_engine paging : True - search_url : https://gitlab.com/search?page={pageno}&search={query} - url_xpath : //li[@class="project-row"]//a[@class="project"]/@href - title_xpath : //li[@class="project-row"]//span[contains(@class, "project-full-name")] - content_xpath : //li[@class="project-row"]//div[@class="description"]/p + search_url : https://gitlab.com/api/v4/projects?search={query}&page={pageno} + url_query : web_url + title_query : name_with_namespace + content_query : description + page_size : 20 categories : it shortcut : gl - timeout : 5.0 + timeout : 10.0 disabled : True - name : github