diff options
| author | Zhijie He <hezhijie0327@hotmail.com> | 2025-05-22 00:25:02 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-05-21 18:25:02 +0200 |
| commit | 156d1eb8c85c01c94723188859fa7526c7d72698 (patch) | |
| tree | 7a8f627d62580103e504aaf8ac8ec47c132bbdf0 /searx/settings.yml | |
| parent | 365b9426f17d3372647c89307ad7175f862834e8 (diff) | |
[feat] engines: add Naver engine (#4573)
Refactor Naver engine (Web, News, Images, Videos, Autocomplete)
- ref: https://search.naver.com/
- lang: `ko`
- Wikidata: https://www.wikidata.org/wiki/Q485639
Co-authored-by: Bnyro <bnyro@tutanota.com>
Diffstat (limited to 'searx/settings.yml')
| -rw-r--r-- | searx/settings.yml | 42 |
1 files changed, 24 insertions, 18 deletions
diff --git a/searx/settings.yml b/searx/settings.yml index 4332a1cd6..64affcadc 100644 --- a/searx/settings.yml +++ b/searx/settings.yml @@ -34,7 +34,7 @@ search: # Filter results. 0: None, 1: Moderate, 2: Strict safe_search: 0 # Existing autocomplete backends: "360search", "baidu", "brave", "dbpedia", "duckduckgo", "google", "yandex", - # "mwmbl", "seznam", "sogou", "stract", "swisscows", "quark", "qwant", "wikipedia" - + # "mwmbl", "naver", "seznam", "sogou", "stract", "swisscows", "quark", "qwant", "wikipedia" - # leave blank to turn it off by default. autocomplete: "" # minimun characters to type before autocompleter starts @@ -2360,25 +2360,31 @@ engines: disabled: true - name: naver - shortcut: nvr categories: [general, web] - engine: xpath - paging: true - search_url: https://search.naver.com/search.naver?where=webkr&sm=osp_hty&ie=UTF-8&query={query}&start={pageno} - url_xpath: //a[@class="link_tit"]/@href - title_xpath: //a[@class="link_tit"] - content_xpath: //div[@class="total_dsc_wrap"]/a - first_page_num: 1 - page_size: 10 + engine: naver + shortcut: nvr + disabled: true + + - name: naver images + naver_category: images + categories: [images] + engine: naver + shortcut: nvri + disabled: true + + - name: naver news + naver_category: news + categories: [news] + engine: naver + shortcut: nvrn + disabled: true + + - name: naver videos + naver_category: videos + categories: [videos] + engine: naver + shortcut: nvrv disabled: true - about: - website: https://www.naver.com/ - wikidata_id: Q485639 - official_api_documentation: https://developers.naver.com/docs/nmt/examples/ - use_official_api: false - require_api_key: false - results: HTML - language: ko - name: rubygems shortcut: rbg |