mirror of
https://github.com/searxng/searxng.git
synced 2024-11-22 20:17:45 +01:00
Merge pull request #1020 from misnyo/gitlab
[fix] gitlab search fixed for proper api usage
This commit is contained in:
commit
2040aac936
@ -242,15 +242,16 @@ engines:
|
|||||||
disabled: True
|
disabled: True
|
||||||
|
|
||||||
- name : gitlab
|
- name : gitlab
|
||||||
engine : xpath
|
engine : json_engine
|
||||||
paging : True
|
paging : True
|
||||||
search_url : https://gitlab.com/search?page={pageno}&search={query}
|
search_url : https://gitlab.com/api/v4/projects?search={query}&page={pageno}
|
||||||
url_xpath : //li[@class="project-row"]//a[@class="project"]/@href
|
url_query : web_url
|
||||||
title_xpath : //li[@class="project-row"]//span[contains(@class, "project-full-name")]
|
title_query : name_with_namespace
|
||||||
content_xpath : //li[@class="project-row"]//div[@class="description"]/p
|
content_query : description
|
||||||
|
page_size : 20
|
||||||
categories : it
|
categories : it
|
||||||
shortcut : gl
|
shortcut : gl
|
||||||
timeout : 5.0
|
timeout : 10.0
|
||||||
disabled : True
|
disabled : True
|
||||||
|
|
||||||
- name : github
|
- name : github
|
||||||
|
Loading…
Reference in New Issue
Block a user