diff options
| author | Kirill Isakov <ukwt@ya.ru> | 2016-03-28 22:33:56 +0600 |
|---|---|---|
| committer | Kirill Isakov <ukwt@ya.ru> | 2016-03-28 22:33:56 +0600 |
| commit | 0bfbdff234535f0a190f272d2f03d7a801b74e10 (patch) | |
| tree | 44faeef21dfca58ae4b561ad7bf10f2555f7afeb /searx | |
| parent | 5b3c9f06ebf16f8dc4387e5b5514256e26813d6b (diff) | |
Add Habrahabr & Geektimes search engines
Diffstat (limited to 'searx')
| -rw-r--r-- | searx/settings.yml | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/searx/settings.yml b/searx/settings.yml index f76ca98b6..580ce1ac6 100644 --- 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 |