Merge pull request #1438 from Venca24/devel_seznam

[add] seznam engine
This commit is contained in:
pofilo 2018-11-29 16:20:33 +01:00 committed by GitHub
commit 3ff67c2e78
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 13 additions and 0 deletions

View File

@ -723,6 +723,19 @@ engines:
shortcut : du shortcut : du
disabled : True disabled : True
- name : seznam
shortcut: szn
engine: xpath
paging : True
search_url : https://search.seznam.cz/?q={query}&count=10&from={pageno}
results_xpath: //div[@class="Page-content"]//div[@class="Result "]
url_xpath : ./h3/a/@href
title_xpath : ./h3
content_xpath : .//p[@class="Result-description"]
first_page_num : 0
page_size : 10
disabled : True
# - name : yacy # - name : yacy
# engine : yacy # engine : yacy
# shortcut : ya # shortcut : ya