[enh] Add pagination support for Library Genesis

[enh] Add pagination support for Library Genesis and add it to "files" category too.
This commit is contained in:
Allen 2021-07-05 00:05:59 +02:00 committed by Noémi Ványi
parent ee443d9739
commit ec4e48e5df
1 changed files with 4 additions and 2 deletions

View File

@ -702,12 +702,14 @@ engines:
- name : library genesis
engine : xpath
paging : True
page_size : 25
enable_http: True
search_url : http://libgen.rs/search.php?req={query}
search_url : http://libgen.rs/search.php?req={query}&page={pageno}
url_xpath : //a[contains(@href,"bookfi.net/md5")]/@href
title_xpath : //a[contains(@href,"book/")]/text()[1]
content_xpath : //td/a[1][contains(@href,"=author")]/text()
categories : general
categories : general, files
timeout : 7.0
disabled : True
shortcut : lg