diff options
| author | Noémi Ványi <kvch@users.noreply.github.com> | 2020-04-12 19:26:09 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-04-12 19:26:09 +0200 |
| commit | 527b1580b7f74213f3855062b597e439c98f190f (patch) | |
| tree | d9f63b3d7608a047f6772f98131011075d509a73 | |
| parent | 4e872c2b19205b76e91e6235859a34e50f4a1bb8 (diff) | |
| parent | f172aad5d2c586d61843341177fdaf35732c4c6f (diff) | |
Merge pull request #1913 from Venca24/devel_rubygems
[add] rubygems engine
| -rw-r--r-- | searx/settings.yml | 14 |
1 files changed, 14 insertions, 0 deletions
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 |