diff options
author | Markus Heiser <markus.heiser@darmarIT.de> | 2022-06-15 13:06:37 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-15 13:06:37 +0200 |
commit | 36184b2f29187e37061590b40ce404b6a2a20c55 (patch) | |
tree | 240df2f5fff06c9b1bb21ee668c95b38352306fa | |
parent | d7a76f37724d6bef167f450d330a6277c851f580 (diff) | |
parent | e9cc6ab0e795639a42e070fe1dde36c2ead0b0e6 (diff) | |
download | searxng-36184b2f29187e37061590b40ce404b6a2a20c55.tar.gz searxng-36184b2f29187e37061590b40ce404b6a2a20c55.zip |
Merge pull request #1327 from liimee/eng
add pub.dev engine
-rw-r--r-- | searx/settings.yml | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/searx/settings.yml b/searx/settings.yml index 34c1bb0b1..4ade99a06 100644 --- a/searx/settings.yml +++ b/searx/settings.yml @@ -1091,6 +1091,26 @@ engines: # query_str: 'SELECT * from my_table WHERE my_column = %(query)s' # shortcut : psql + - name: pub.dev + engine: xpath + shortcut: pd + search_url: https://pub.dev/packages?q={query}&page={pageno} + paging: true + results_xpath: /html/body/main/div/div[@class="search-results"]/div[@class="packages"]/div + url_xpath: ./div/h3/a/@href + title_xpath: ./div/h3/a + content_xpath: ./p[@class="packages-description"] + categories: [packages, it] + timeout: 3.0 + disabled: true + first_page_num: 1 + about: + website: https://pub.dev/ + official_api_documentation: https://pub.dev/help/api + use_official_api: false + require_api_key: false + results: HTML + - name: pubmed engine: pubmed shortcut: pub |