summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Heiser <markus.heiser@darmarit.de>2024-02-01 20:21:58 +0100
committerMarkus Heiser <markus.heiser@darmarIT.de>2024-02-01 20:32:10 +0100
commitbe0d756ad5dab0a477cea0ebcb5391a350955cf0 (patch)
treea82a4181cd0ccd9828c13271409dfb97e604f4f5
parent6d31ca28b5c4067bf3275be2aea264afabcbd620 (diff)
downloadsearxng-be0d756ad5dab0a477cea0ebcb5391a350955cf0.tar.gz
searxng-be0d756ad5dab0a477cea0ebcb5391a350955cf0.zip
[fix] libgen.fun is down, switch to libgen.rs
Closes: https://github.com/searxng/searxng/issues/3178 Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
-rw-r--r--searx/settings.yml5
1 files 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