summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormaxigas <maxigas@anargeek.net>2017-02-01 02:23:47 +0100
committermaxigas <maxigas@anargeek.net>2017-02-05 16:32:28 +0100
commit4ebde2b2af21ad869d199686a3ac899cb3f2e05c (patch)
treeb1c15d27b15f1d84ed7f4e85f3df485132be1734
parent3ecde5bc3a771abf39f3d072cc0424de27d4b784 (diff)
downloadsearxng-4ebde2b2af21ad869d199686a3ac899cb3f2e05c.tar.gz
searxng-4ebde2b2af21ad869d199686a3ac899cb3f2e05c.zip
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