diff options
author | Venca24 <Vaclav.Zouzalik@seznam.cz> | 2020-04-03 17:31:59 +0200 |
---|---|---|
committer | Venca24 <Vaclav.Zouzalik@seznam.cz> | 2020-04-03 17:31:59 +0200 |
commit | 5cb9d9e56a611f500e3fe1b850218abe6f272bf5 (patch) | |
tree | a5c195fc8c03d578900bd6d6342b7edf847d37c2 /searx/settings.yml | |
parent | 65e8af62b18d5776ebed02ae9d22e137d7f421ca (diff) | |
download | searxng-5cb9d9e56a611f500e3fe1b850218abe6f272bf5.tar.gz searxng-5cb9d9e56a611f500e3fe1b850218abe6f272bf5.zip |
[add] rubygems engine
Diffstat (limited to 'searx/settings.yml')
-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 |