on master help sign in
Add Habrahabr & Geektimes search engines
0bfbdffKirill Isakov
searx/settings.yml+24
@@ -213,6 +213,30 @@ engines:
213 shortcut : gps
213 shortcut : gps
214 disabled : True
214 disabled : True
215
215
216+ - name : geektimes
217+ engine : xpath
218+ paging : True
219+ search_url : https://geektimes.ru/search/page{pageno}/?q={query}
220+ url_xpath : //div[@class="search_results"]//a[@class="post_title"]/@href
221+ title_xpath : //div[@class="search_results"]//a[@class="post_title"]
222+ content_xpath : //div[@class="search_results"]//div[contains(@class, "content")]
223+ categories : it
224+ timeout : 4.0
225+ disabled : True
226+ shortcut : gt
227+
228+ - name : habrahabr
229+ engine : xpath
230+ paging : True
231+ search_url : https://habrahabr.ru/search/page{pageno}/?q={query}
232+ url_xpath : //div[@class="search_results"]//a[@class="post_title"]/@href
233+ title_xpath : //div[@class="search_results"]//a[@class="post_title"]
234+ content_xpath : //div[@class="search_results"]//div[contains(@class, "content")]
235+ categories : it
236+ timeout : 4.0
237+ disabled : True
238+ shortcut : habr
239+
216 - name : mixcloud
240 - name : mixcloud
217 engine : mixcloud
241 engine : mixcloud
218 shortcut : mc
242 shortcut : mc