commit: 0bfbdff234535f0a190f272d2f03d7a801b74e10
parent 5b3c9f06ebf16f8dc4387e5b5514256e26813d6b
Author: Kirill Isakov <ukwt@ya.ru>
Date: Mon, 28 Mar 2016 22:33:56 +0600
Add Habrahabr & Geektimes search engines
Diffstat:
1 file changed, 24 insertions(+), 0 deletions(-)
diff --git a/searx/settings.yml b/searx/settings.yml
@@ -213,6 +213,30 @@ engines:
shortcut : gps
disabled : True
+ - name : geektimes
+ engine : xpath
+ paging : True
+ search_url : https://geektimes.ru/search/page{pageno}/?q={query}
+ url_xpath : //div[@class="search_results"]//a[@class="post_title"]/@href
+ title_xpath : //div[@class="search_results"]//a[@class="post_title"]
+ content_xpath : //div[@class="search_results"]//div[contains(@class, "content")]
+ categories : it
+ timeout : 4.0
+ disabled : True
+ shortcut : gt
+
+ - name : habrahabr
+ engine : xpath
+ paging : True
+ search_url : https://habrahabr.ru/search/page{pageno}/?q={query}
+ url_xpath : //div[@class="search_results"]//a[@class="post_title"]/@href
+ title_xpath : //div[@class="search_results"]//a[@class="post_title"]
+ content_xpath : //div[@class="search_results"]//div[contains(@class, "content")]
+ categories : it
+ timeout : 4.0
+ disabled : True
+ shortcut : habr
+
- name : mixcloud
engine : mixcloud
shortcut : mc