diff options
| author | Noémi Ványi <kvch@users.noreply.github.com> | 2020-04-12 21:35:37 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-04-12 21:35:37 +0200 |
| commit | 7878176bb09cebd298f03f8a19c31c6c32533d28 (patch) | |
| tree | 594f859ae7cfb0b2dac05c0c40f8a46a6e4535c2 | |
| parent | 83fa88cbec949c0916d7d8854865512a5485b3f3 (diff) | |
| parent | 527b1580b7f74213f3855062b597e439c98f190f (diff) | |
Merge branch 'master' into wikimedia-projects
| -rw-r--r-- | .travis.yml | 4 | ||||
| -rw-r--r-- | searx/settings.yml | 14 |
2 files changed, 17 insertions, 1 deletions
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: diff --git a/searx/settings.yml b/searx/settings.yml index 3050aedf5..2729de928 100644 --- a/searx/settings.yml +++ b/searx/settings.yml @@ -826,6 +826,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 |