Add BitBucket & GitLab search engines

This commit is contained in:
Kirill Isakov 2016-03-28 20:08:34 +06:00
parent bacc9a3df1
commit 5b3c9f06eb
1 changed files with 24 additions and 0 deletions

View File

@ -56,6 +56,18 @@ engines:
engine : bing_news engine : bing_news
shortcut : bin shortcut : bin
- name : bitbucket
engine : xpath
paging : True
search_url : https://bitbucket.org/repo/all/{pageno}?name={query}
url_xpath : //article[@class="repo-summary"]//a[@class="repo-link"]/@href
title_xpath : //article[@class="repo-summary"]//a[@class="repo-link"]
content_xpath : //article[@class="repo-summary"]/p
categories : it
timeout : 4.0
disabled : True
shortcut : bb
- name : btdigg - name : btdigg
engine : btdigg engine : btdigg
shortcut : bt shortcut : bt
@ -143,6 +155,18 @@ engines:
shortcut : gb shortcut : gb
disabled: True disabled: True
- name : gitlab
engine : xpath
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
categories : it
shortcut : gl
timeout : 5.0
disabled : True
- name : github - name : github
engine : github engine : github
shortcut : gh shortcut : gh