Skip to content

SearXNG is a free internet metasearch engine which aggregates results from various search services and databases. Users are neither tracked nor profiled.

[fix] Library Genesis links shifted by 1 #1998

Markus Heiserb0bb0a3a0f02
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