From d3bc171a1563491cd98bc3f015a95c705227c7bd Mon Sep 17 00:00:00 2001 From: Venca24 Date: Tue, 28 Jul 2020 21:42:48 +0200 Subject: [PATCH] [add] naver engine It adds new search engine for users from the South Korea (and therefore it is disabled by default). Closes #1553 --- searx/settings.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) 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