mirror of
https://github.com/searxng/searxng
synced 2024-01-01 19:24:07 +01:00
Sync upstream
This commit is contained in:
commit
c057145e50
2 changed files with 23 additions and 1 deletions
|
@ -146,7 +146,11 @@ def response(resp):
|
|||
}
|
||||
)
|
||||
else:
|
||||
for url, title, content in zip(query(json, url_query), query(json, title_query), query(json, content_query)):
|
||||
for result in json:
|
||||
url = query(result, url_query)[0]
|
||||
title = query(result, title_query)[0]
|
||||
content = query(result, content_query)[0]
|
||||
|
||||
results.append(
|
||||
{
|
||||
'url': url_prefix + to_string(url),
|
||||
|
|
|
@ -1548,6 +1548,24 @@ engines:
|
|||
page_size: 25
|
||||
disabled: true
|
||||
|
||||
- name: right dao
|
||||
engine: xpath
|
||||
paging: true
|
||||
page_size: 12
|
||||
search_url: https://rightdao.com/search?q={query}&start={pageno}
|
||||
results_xpath: //div[contains(@class, "description")]
|
||||
url_xpath: ../div[contains(@class, "title")]/a/@href
|
||||
title_xpath: ../div[contains(@class, "title")]
|
||||
content_xpath: .
|
||||
categories: general
|
||||
shortcut: rd
|
||||
disabled: true
|
||||
about:
|
||||
website: https://rightdao.com/
|
||||
use_official_api: false
|
||||
require_api_key: false
|
||||
results: HTML
|
||||
|
||||
- name: rottentomatoes
|
||||
engine: rottentomatoes
|
||||
shortcut: rt
|
||||
|
|
Loading…
Add table
Reference in a new issue