[add] naver engine

It adds new search engine for users from the South Korea (and therefore it is disabled by default). Closes #1553
This commit is contained in:
Venca24 2020-07-28 21:42:48 +02:00 committed by GitHub
parent cdc2f33972
commit d3bc171a15
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 15 additions and 0 deletions

View File

@ -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