Merge pull request #1020 from misnyo/gitlab

[fix] gitlab search fixed for proper api usage
This commit is contained in:
Adam Tauber 2017-09-03 23:08:55 +02:00 committed by GitHub
commit 2040aac936
1 changed files with 7 additions and 6 deletions

View File

@ -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