Browse Source

Merge pull request #1438 from Venca24/devel_seznam

[add] seznam engine
pofilo 6 years ago
parent
commit
3ff67c2e78
1 changed files with 13 additions and 0 deletions
  1. 13 0
      searx/settings.yml

+ 13 - 0
searx/settings.yml

@@ -723,6 +723,19 @@ engines:
     shortcut : du
     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
 #    engine : yacy
 #    shortcut : ya