diff options
| author | Alexandre Flament <alex@al-f.net> | 2021-02-09 08:52:38 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-02-09 08:52:38 +0100 |
| commit | e4cc7f13a397732c519f28a749b780bc32755522 (patch) | |
| tree | c268dc9596d02dfe421c35dc8f30e812c5ee7d4b | |
| parent | bec9e30fe70ee013d4a1e97e1fa039d814f2cb0c (diff) | |
| parent | ac309f5b8d57830d6c846adebc5a33cccc6ec82c (diff) | |
Merge pull request #2542 from kvch/fix-naver-engine
Fix XPATHs in Naver engine
| -rw-r--r-- | searx/settings.yml | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/searx/settings.yml b/searx/settings.yml index 785e7a642..af6e3a47e 100644 --- a/searx/settings.yml +++ b/searx/settings.yml @@ -1229,11 +1229,9 @@ engines: 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 + url_xpath : //a[@class="link_tit"]/@href + title_xpath : //a[@class="link_tit"] + content_xpath : //a[@class="total_dsc"]/div first_page_num : 1 page_size : 10 disabled : True |