Merge branch 'master' into feature/fix-config

This commit is contained in:
rachmadani haryono 2019-05-28 06:55:20 +08:00 committed by GitHub
commit 7a127b4547
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 7 deletions

View File

@ -1,11 +1,11 @@
certifi==2018.11.29
certifi==2019.3.9
flask-babel==0.12.2
flask==1.0.2
idna==2.8
jinja2==2.10
lxml==4.3.0
jinja2==2.10.1
lxml==4.3.3
pygments==2.1.3
pyopenssl==19.0.0
python-dateutil==2.7.5
pyyaml==4.2b1
requests[socks]==2.21.0
python-dateutil==2.8.0
pyyaml==5.1
requests[socks]==2.22.0

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