From be0d756ad5dab0a477cea0ebcb5391a350955cf0 Mon Sep 17 00:00:00 2001 From: Markus Heiser Date: Thu, 1 Feb 2024 20:21:58 +0100 Subject: [PATCH] [fix] libgen.fun is down, switch to libgen.rs Closes: https://github.com/searxng/searxng/issues/3178 Signed-off-by: Markus Heiser --- searx/settings.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/searx/settings.yml b/searx/settings.yml index 8dbd6bc71..92bb0ff26 100644 --- a/searx/settings.yml +++ b/searx/settings.yml @@ -1006,8 +1006,9 @@ engines: - name: library genesis engine: xpath - search_url: https://libgen.fun/search.php?req={query} - url_xpath: //a[contains(@href,"get.php?md5")]/@href + # search_url: https://libgen.is/search.php?req={query} + search_url: https://libgen.rs/search.php?req={query} + url_xpath: //a[contains(@href,"book/index.php?md5")]/@href title_xpath: //a[contains(@href,"book/")]/text()[1] content_xpath: //td/a[1][contains(@href,"=author")]/text() categories: files