on master help sign in
Add BitBucket & GitLab search engines
commit5b3c9f06ebf16f8dc4387e5b5514256e26813d6b authorKirill Isakov <ukwt@ya.ru> dateMon 28 Mar 2016, 20:08 (11 years ago) parentbacc9a3
1 file changed+24
searx/settings.yml+24
searx/settings.yml+24
@@ -56,6 +56,18 @@ engines:
5656 engine : bing_news
5757 shortcut : bin
5858
59+ - name : bitbucket
60+ engine : xpath
61+ paging : True
62+ search_url : https://bitbucket.org/repo/all/{pageno}?name={query}
63+ url_xpath : //article[@class="repo-summary"]//a[@class="repo-link"]/@href
64+ title_xpath : //article[@class="repo-summary"]//a[@class="repo-link"]
65+ content_xpath : //article[@class="repo-summary"]/p
66+ categories : it
67+ timeout : 4.0
68+ disabled : True
69+ shortcut : bb
70+
5971 - name : btdigg
6072 engine : btdigg
6173 shortcut : bt
@@ -143,6 +155,18 @@ engines:
143155 shortcut : gb
144156 disabled: True
145157
158+ - name : gitlab
159+ engine : xpath
160+ paging : True
161+ search_url : https://gitlab.com/search?page={pageno}&search={query}
162+ url_xpath : //li[@class="project-row"]//a[@class="project"]/@href
163+ title_xpath : //li[@class="project-row"]//span[contains(@class, "project-full-name")]
164+ content_xpath : //li[@class="project-row"]//div[@class="description"]/p
165+ categories : it
166+ shortcut : gl
167+ timeout : 5.0
168+ disabled : True
169+
146170 - name : github
147171 engine : github
148172 shortcut : gh