on master help sign in
[enh] Add pagination support for Library Genesis
ec4e48eAllen
searx/settings.yml+4−2
@@ -702,12 +702,14 @@ engines:
702
702
703 - name : library genesis
703 - name : library genesis
704 engine : xpath
704 engine : xpath
705+ paging : True
706+ page_size : 25
705 enable_http: True
707 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}
707 url_xpath : //a[contains(@href,"bookfi.net/md5")]/@href
709 url_xpath : //a[contains(@href,"bookfi.net/md5")]/@href
708 title_xpath : //a[contains(@href,"book/")]/text()[1]
710 title_xpath : //a[contains(@href,"book/")]/text()[1]
709 content_xpath : //td/a[1][contains(@href,"=author")]/text()
711 content_xpath : //td/a[1][contains(@href,"=author")]/text()
710− categories : general
712+ categories : general, files
711 timeout : 7.0
713 timeout : 7.0
712 disabled : True
714 disabled : True
713 shortcut : lg
715 shortcut : lg