on master help sign in
[enh] Add pagination support for Library Genesis

[enh] Add pagination support for Library Genesis and add it to "files" category too.

commitec4e48e5df497216930a4fd1ca183d566499dbe4 authorAllen <64094914+allendema@users.noreply.github.com> dateMon 5 Jul 2021, 00:05 (5 years ago) parentee443d9
1 file changed+4−2
searx/settings.yml+4−2
searx/settings.yml+4−2
@@ -702,12 +702,14 @@ engines:
702702
703703 - name : library genesis
704704 engine : xpath
705+ paging : True
706+ page_size : 25
705707 enable_http: True
706− search_url : http://libgen.rs/search.php?req={query}
708+ search_url : http://libgen.rs/search.php?req={query}&page={pageno}
707709 url_xpath : //a[contains(@href,"bookfi.net/md5")]/@href
708710 title_xpath : //a[contains(@href,"book/")]/text()[1]
709711 content_xpath : //td/a[1][contains(@href,"=author")]/text()
710− categories : general
712+ categories : general, files
711713 timeout : 7.0
712714 disabled : True
713715 shortcut : lg