Merge pull request #1595 from Venca24/fix_seznam

[fix] seznam engine
This commit is contained in:
Alexandre Flament 2019-05-28 07:27:40 +09:00 committed by GitHub
commit 6c95ebcff5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -709,10 +709,11 @@ engines:
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 "]
results_xpath: //div[@class="Page-content"]//div[contains(@class, "Result ")]
url_xpath : ./h3/a/@href
title_xpath : ./h3
content_xpath : .//p[@class="Result-description"]
suggestion_xpath: //div[@class="Related-container"]//div[@class="RelatedItem"]/div/span/a
first_page_num : 0
page_size : 10
disabled : True