From c66a0194786300e822e8ac8b3403ecb193a8090e Mon Sep 17 00:00:00 2001 From: Venca24 Date: Tue, 21 May 2019 14:27:30 +0200 Subject: [PATCH 1/2] [fix] seznam engine --- searx/settings.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/searx/settings.yml b/searx/settings.yml index f346647d1..506d73cb5 100644 --- a/searx/settings.yml +++ b/searx/settings.yml @@ -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 From 1418361cbc968660d454992da4faef154f1e1564 Mon Sep 17 00:00:00 2001 From: Dalf Date: Sun, 26 May 2019 04:31:58 +0200 Subject: [PATCH 2/2] requirements.txt : update dependencies --- requirements.txt | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/requirements.txt b/requirements.txt index b2ae2d453..94a7ccf04 100644 --- a/requirements.txt +++ b/requirements.txt @@ -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