mirror of https://github.com/searx/searx
[fix] Library Genesis links shifted by 1 #1998
Fixes: #1998 Suggested-by: @linuxmue Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
This commit is contained in:
parent
14a395a671
commit
b0bb0a3a0f
|
@ -492,7 +492,7 @@ engines:
|
||||||
- name : library genesis
|
- name : library genesis
|
||||||
engine : xpath
|
engine : xpath
|
||||||
search_url : http://libgen.rs/search.php?req={query}
|
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]
|
title_xpath : //a[contains(@href,"book/")]/text()[1]
|
||||||
content_xpath : //td/a[1][contains(@href,"=author")]/text()
|
content_xpath : //td/a[1][contains(@href,"=author")]/text()
|
||||||
categories : general
|
categories : general
|
||||||
|
|
Loading…
Reference in New Issue