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

View File

@ -709,10 +709,11 @@ engines:
engine: xpath engine: xpath
paging : True paging : True
search_url : https://search.seznam.cz/?q={query}&count=10&from={pageno} 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 url_xpath : ./h3/a/@href
title_xpath : ./h3 title_xpath : ./h3
content_xpath : .//p[@class="Result-description"] content_xpath : .//p[@class="Result-description"]
suggestion_xpath: //div[@class="Related-container"]//div[@class="RelatedItem"]/div/span/a
first_page_num : 0 first_page_num : 0
page_size : 10 page_size : 10
disabled : True disabled : True