diff options
| author | Venca24 <Venca24@users.noreply.github.com> | 2020-07-28 21:42:48 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-07-28 21:42:48 +0200 |
| commit | d3bc171a1563491cd98bc3f015a95c705227c7bd (patch) | |
| tree | 1aa09262cf64b56b865d8c2d4db50669877dc6dd | |
| parent | cdc2f33972cedd953c93cff5e78da4455352cd84 (diff) | |
[add] naver engine
It adds new search engine for users from the South Korea (and therefore it is disabled by default). Closes #1553
| -rw-r--r-- | searx/settings.yml | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/searx/settings.yml b/searx/settings.yml index bee6e3e7b..90ada3d21 100644 --- a/searx/settings.yml +++ b/searx/settings.yml @@ -835,6 +835,21 @@ engines: engine : seedpeer categories: files, music, videos + + - name : naver + shortcut: nvr + engine: xpath + paging : True + search_url : https://search.naver.com/search.naver?where=webkr&sm=osp_hty&ie=UTF-8&query={query}&start={pageno} + results_xpath: /html/body//ul[@id="elThumbnailResultArea"]/li + url_xpath : ./dl/dt/a[@class="title_link"]/@href + title_xpath : ./dl/dt/a[@class="title_link"] + content_xpath : ./dl/dd[@class="sh_web_passage"] + suggestion_xpath : /html/body//div[@class="sp_keyword section"]//a + first_page_num : 1 + page_size : 10 + disabled : True + - name : rubygems shortcut: rbg engine: xpath |