forked from Ponysearch/Ponysearch
Merge pull request #1913 from Venca24/devel_rubygems
[add] rubygems engine
This commit is contained in:
commit
527b1580b7
1 changed files with 14 additions and 0 deletions
|
@ -763,6 +763,20 @@ engines:
|
||||||
engine : seedpeer
|
engine : seedpeer
|
||||||
categories: files, music, videos
|
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
|
# - name : yacy
|
||||||
# engine : yacy
|
# engine : yacy
|
||||||
# shortcut : ya
|
# shortcut : ya
|
||||||
|
|
Loading…
Reference in a new issue