Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Unverified Commit 3ff67c2e authored by pofilo's avatar pofilo Committed by GitHub
Browse files

Merge pull request #1438 from Venca24/devel_seznam

[add] seznam engine
parents ab8f7083 1e143758
Loading
Loading
Loading
Loading
+13 −0
Original line number Diff line number Diff line
@@ -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