Merge pull request #2448 from return42/fix-1998

[fix] Library Genesis links shifted by 1 #1998
This commit is contained in:
Alexandre Flament 2021-01-08 09:29:36 +01:00 committed by GitHub
commit 5225c4f253
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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