summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Tauber <asciimoo@gmail.com>2017-02-05 16:55:06 +0100
committerGitHub <noreply@github.com>2017-02-05 16:55:06 +0100
commit0e7ac3797d5c970b8ac33911e3d9bcc7495e6bf0 (patch)
treefd2c49e91f9435d998526ba857e9eaacfabea5e9
parente389a0c7219eedf1ec9287712ae4d20c8546db5e (diff)
parent4ebde2b2af21ad869d199686a3ac899cb3f2e05c (diff)
downloadsearxng-0e7ac3797d5c970b8ac33911e3d9bcc7495e6bf0.tar.gz
searxng-0e7ac3797d5c970b8ac33911e3d9bcc7495e6bf0.zip
Merge pull request #848 from maxigas/master
add library genesis engine
-rw-r--r--searx/settings.yml11
1 files changed, 11 insertions, 0 deletions
diff --git a/searx/settings.yml b/searx/settings.yml
index 8515326ec..64f269611 100644
--- a/searx/settings.yml
+++ b/searx/settings.yml
@@ -339,6 +339,17 @@ engines:
timeout : 4.0
disabled : True
+ - name : library genesis
+ engine : xpath
+ search_url : http://libgen.io/search.php?req={query}
+ url_xpath : //a[contains(@href,"bookfi.net")]/@href
+ title_xpath : //a[contains(@href,"book/")]/text()[1]
+ content_xpath : //td/a[1][contains(@href,"=author")]/text()
+ categories : general
+ timeout : 7.0
+ disabled : True
+ shortcut : lg
+
- name : lobste.rs
engine : xpath
search_url : https://lobste.rs/search?utf8=%E2%9C%93&q={query}&what=stories&order=relevance