From 5cb9d9e56a611f500e3fe1b850218abe6f272bf5 Mon Sep 17 00:00:00 2001 From: Venca24 Date: Fri, 3 Apr 2020 17:31:59 +0200 Subject: [PATCH 1/2] [add] rubygems engine --- searx/settings.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/searx/settings.yml b/searx/settings.yml index 078d95b72..93cb3ee5f 100644 --- a/searx/settings.yml +++ b/searx/settings.yml @@ -763,6 +763,20 @@ engines: engine : seedpeer categories: files, music, videos + - name : rubygems + shortcut: rbg + engine: xpath + paging : True + search_url : https://rubygems.org/search?page={pageno}&query={query} + results_xpath: /html/body/main/div/a[@class="gems__gem"] + url_xpath : ./@href + title_xpath : ./span/h2 + content_xpath : ./span/p + suggestion_xpath : /html/body/main/div/div[@class="search__suggestions"]/p/a + first_page_num : 1 + categories: it + disabled : True + # - name : yacy # engine : yacy # shortcut : ya From a7862ba3c1557fd39269dad3781a1909a8cff363 Mon Sep 17 00:00:00 2001 From: Dalf Date: Wed, 8 Apr 2020 15:34:01 +0200 Subject: [PATCH 2/2] [mod] .travis.yml: add Python 3.7 and Python 3.8 --- .travis.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 76a20b00d..f6fa9c985 100644 --- a/.travis.yml +++ b/.travis.yml @@ -32,8 +32,10 @@ jobs: env: PY=2 - python: "3.5" - python: "3.6" + - python: "3.7" + - python: "3.8" - stage: docker - python: "3.6" + python: "3.8" git: depth: false services: