From b0bb0a3a0f02cb9b496c734f609e0a1b8d70a337 Mon Sep 17 00:00:00 2001 From: Markus Heiser Date: Thu, 7 Jan 2021 14:47:34 +0100 Subject: [PATCH] [fix] Library Genesis links shifted by 1 #1998 Fixes: #1998 Suggested-by: @linuxmue Signed-off-by: Markus Heiser --- searx/settings.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/searx/settings.yml b/searx/settings.yml index d31fbafc6..0a569e59c 100644 --- a/searx/settings.yml +++ b/searx/settings.yml @@ -492,7 +492,7 @@ engines: - name : library genesis engine : xpath search_url : http://libgen.rs/search.php?req={query} - url_xpath : //a[contains(@href,"bookfi.net")]/@href + url_xpath : //a[contains(@href,"bookfi.net/md5")]/@href title_xpath : //a[contains(@href,"book/")]/text()[1] content_xpath : //td/a[1][contains(@href,"=author")]/text() categories : general