mirror of https://github.com/searx/searx
[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:
parent
ee443d9739
commit
ec4e48e5df
|
@ -702,12 +702,14 @@ engines:
|
||||||
|
|
||||||
- name : library genesis
|
- name : library genesis
|
||||||
engine : xpath
|
engine : xpath
|
||||||
|
paging : True
|
||||||
|
page_size : 25
|
||||||
enable_http: True
|
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
|
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, files
|
||||||
timeout : 7.0
|
timeout : 7.0
|
||||||
disabled : True
|
disabled : True
|
||||||
shortcut : lg
|
shortcut : lg
|
||||||
|
|
Loading…
Reference in New Issue