mirror of
https://github.com/searxng/searxng.git
synced 2024-11-05 04:40:11 +01:00
Merge pull request #1145 from tiekoetter/libgen
[fix] library genesis engine: xpath and url
This commit is contained in:
commit
476559a728
@ -813,8 +813,8 @@ engines:
|
|||||||
|
|
||||||
- name: library genesis
|
- name: library genesis
|
||||||
engine: xpath
|
engine: xpath
|
||||||
search_url: https://libgen.rs/search.php?req={query}
|
search_url: https://libgen.fun/search.php?req={query}
|
||||||
url_xpath: //a[contains(@href,"bookfi.net/md5")]/@href
|
url_xpath: //a[contains(@href,"get.php?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: files
|
categories: files
|
||||||
@ -822,7 +822,7 @@ engines:
|
|||||||
disabled: true
|
disabled: true
|
||||||
shortcut: lg
|
shortcut: lg
|
||||||
about:
|
about:
|
||||||
website: https://libgen.rs/
|
website: https://libgen.fun/
|
||||||
wikidata_id: Q22017206
|
wikidata_id: Q22017206
|
||||||
official_api_documentation:
|
official_api_documentation:
|
||||||
use_official_api: false
|
use_official_api: false
|
||||||
|
Loading…
Reference in New Issue
Block a user