diff options
| author | Alexandre Flament <alex@al-f.net> | 2022-04-29 12:40:53 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-04-29 12:40:53 +0200 |
| commit | 476559a7284ad7cb3b54b12060c991e7e5def0f5 (patch) | |
| tree | d4b324b0b8e15d2f17857550b9f21f93334ff40f | |
| parent | d502e7d403b8539d40fe8d9c5e760a01f0555eda (diff) | |
| parent | 02026bcc763fd9dce81456736e4d1cb52da31fec (diff) | |
Merge pull request #1145 from tiekoetter/libgen
[fix] library genesis engine: xpath and url
| -rw-r--r-- | searx/settings.yml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/searx/settings.yml b/searx/settings.yml index fb52bd8cd..c476b1321 100644 --- a/searx/settings.yml +++ b/searx/settings.yml @@ -813,8 +813,8 @@ engines: - name: library genesis engine: xpath - search_url: https://libgen.rs/search.php?req={query} - url_xpath: //a[contains(@href,"bookfi.net/md5")]/@href + search_url: https://libgen.fun/search.php?req={query} + url_xpath: //a[contains(@href,"get.php?md5")]/@href title_xpath: //a[contains(@href,"book/")]/text()[1] content_xpath: //td/a[1][contains(@href,"=author")]/text() categories: files @@ -822,7 +822,7 @@ engines: disabled: true shortcut: lg about: - website: https://libgen.rs/ + website: https://libgen.fun/ wikidata_id: Q22017206 official_api_documentation: use_official_api: false |