summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexandre Flament <alex@al-f.net>2021-01-08 09:29:36 +0100
committerGitHub <noreply@github.com>2021-01-08 09:29:36 +0100
commit5225c4f253cd7b8105c9f0e78b0bc895671837aa (patch)
tree495e64cf6ec5c183c971dc12a53a894e4d4d271e
parent14a395a6718949015e53a0b593eaa2f28e43fd27 (diff)
parentb0bb0a3a0f02cb9b496c734f609e0a1b8d70a337 (diff)
downloadsearxng-5225c4f253cd7b8105c9f0e78b0bc895671837aa.tar.gz
searxng-5225c4f253cd7b8105c9f0e78b0bc895671837aa.zip
Merge pull request #2448 from return42/fix-1998
[fix] Library Genesis links shifted by 1 #1998
-rw-r--r--searx/settings.yml2
1 files changed, 1 insertions, 1 deletions
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