Merge branch 'master' into wikimedia-projects
commit7878176bb09cebd298f03f8a19c31c6c32533d28
authorNoémi Ványi <kvch@users.noreply.github.com>
dateSun 12 Apr 2020, 21:35 (7 years ago)
parent83fa88c527b158
.travis.yml+3−1
@@ -32,8 +32,10 @@ jobs:
3232 env: PY=2
3333 - python: "3.5"
3434 - python: "3.6"
35+ - python: "3.7"
36+ - python: "3.8"
3537 - stage: docker
36− python: "3.6"
38+ python: "3.8"
3739 git:
3840 depth: false
3941 services:
searx/settings.yml+14
@@ -826,6 +826,20 @@ engines:
826826 engine : seedpeer
827827 categories: files, music, videos
828828
829+ - name : rubygems
830+ shortcut: rbg
831+ engine: xpath
832+ paging : True
833+ search_url : https://rubygems.org/search?page={pageno}&query={query}
834+ results_xpath: /html/body/main/div/a[@class="gems__gem"]
835+ url_xpath : ./@href
836+ title_xpath : ./span/h2
837+ content_xpath : ./span/p
838+ suggestion_xpath : /html/body/main/div/div[@class="search__suggestions"]/p/a
839+ first_page_num : 1
840+ categories: it
841+ disabled : True
842+
829843# - name : yacy
830844# engine : yacy
831845# shortcut : ya