diff options
author | Kirill Isakov <ukwt@ya.ru> | 2016-03-28 20:08:34 +0600 |
---|---|---|
committer | Kirill Isakov <ukwt@ya.ru> | 2016-03-28 20:08:34 +0600 |
commit | 5b3c9f06ebf16f8dc4387e5b5514256e26813d6b (patch) | |
tree | 65208ef0f5ff00ec5a035fab0adbda62481f4e90 /searx | |
parent | bacc9a3df156605c49fb93ede6e6a730110d15db (diff) | |
download | searxng-5b3c9f06ebf16f8dc4387e5b5514256e26813d6b.tar.gz searxng-5b3c9f06ebf16f8dc4387e5b5514256e26813d6b.zip |
Add BitBucket & GitLab search engines
Diffstat (limited to 'searx')
-rw-r--r-- | searx/settings.yml | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/searx/settings.yml b/searx/settings.yml index 473b8612a..f76ca98b6 100644 --- a/searx/settings.yml +++ b/searx/settings.yml @@ -56,6 +56,18 @@ engines: engine : bing_news 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 engine : btdigg shortcut : bt @@ -143,6 +155,18 @@ engines: shortcut : gb 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 engine : github shortcut : gh |