commit: 6c7c6ba695a7d9dce9656e407a0da034415c5e63
parent: 51eafdd471fe989accc060f3ebd8efba0d9b6a71
Author: Adam Tauber <asciimoo@gmail.com>
Date: Sun, 6 Nov 2016 01:18:13 +0100
Merge pull request #753 from kvch/lobsters-engine
add lobste.rs xpath engine
Diffstat:
1 file changed, 10 insertions(+), 0 deletions(-)
diff --git a/searx/settings.yml b/searx/settings.yml
@@ -313,6 +313,16 @@ engines:
timeout : 4.0
disabled : True
+ - name : lobste.rs
+ engine : xpath
+ search_url : https://lobste.rs/search?utf8=%E2%9C%93&q={query}&what=stories&order=relevance
+ results_xpath : //li[contains(@class, "story")]
+ url_xpath : .//span[@class="link"]/a/@href
+ title_xpath : .//span[@class="link"]/a
+ content_xpath : .//a[@class="domain"]
+ categories : it
+ shortcut : lo
+
- name : microsoft academic
engine : json_engine
paging : True