mirror of
https://github.com/searxng/searxng
synced 2024-11-18 15:26:25 +00:00
[Fix] Libgen engine
Libgen has switched to new domain (i.e https://libgen.is) with TLS support and older domain (i.e. http://libgen.io) is no longer accessible. See, https://en.wikipedia.org/wiki/Library_Genesis, for more information. Resolves: #1693
This commit is contained in:
parent
8e62f7600f
commit
ee6781d777
@ -407,7 +407,7 @@ engines:
|
|||||||
|
|
||||||
- name : library genesis
|
- name : library genesis
|
||||||
engine : xpath
|
engine : xpath
|
||||||
search_url : http://libgen.io/search.php?req={query}
|
search_url : https://libgen.is/search.php?req={query}
|
||||||
url_xpath : //a[contains(@href,"bookfi.net")]/@href
|
url_xpath : //a[contains(@href,"bookfi.net")]/@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()
|
||||||
|
Loading…
Reference in New Issue
Block a user