From 4ebde2b2af21ad869d199686a3ac899cb3f2e05c Mon Sep 17 00:00:00 2001 From: maxigas Date: Wed, 1 Feb 2017 02:23:47 +0100 Subject: [PATCH] add library genesis engine --- searx/settings.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) 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