forked from Archives/searxng
Merge pull request #2542 from kvch/fix-naver-engine
Fix XPATHs in Naver engine
This commit is contained in:
commit
e4cc7f13a3
@ -1229,11 +1229,9 @@ engines:
|
|||||||
engine: xpath
|
engine: xpath
|
||||||
paging : True
|
paging : True
|
||||||
search_url : https://search.naver.com/search.naver?where=webkr&sm=osp_hty&ie=UTF-8&query={query}&start={pageno}
|
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 : //a[@class="link_tit"]/@href
|
||||||
url_xpath : ./dl/dt/a[@class="title_link"]/@href
|
title_xpath : //a[@class="link_tit"]
|
||||||
title_xpath : ./dl/dt/a[@class="title_link"]
|
content_xpath : //a[@class="total_dsc"]/div
|
||||||
content_xpath : ./dl/dd[@class="sh_web_passage"]
|
|
||||||
suggestion_xpath : /html/body//div[@class="sp_keyword section"]//a
|
|
||||||
first_page_num : 1
|
first_page_num : 1
|
||||||
page_size : 10
|
page_size : 10
|
||||||
disabled : True
|
disabled : True
|
||||||
|
Loading…
Reference in New Issue
Block a user