btdb: fetch up to 100 rows (#7319)

This commit is contained in:
Jorman 2020-02-25 06:23:54 +01:00 committed by GitHub
parent 963616fe07
commit 0784e0784c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 1 deletions

View File

@ -38,6 +38,10 @@
search: search:
paths: paths:
- path: "{{ if .Keywords }}search/{{ .Keywords }}/{{else}}recent{{end}}?sort={{ .Config.sort }}" - path: "{{ if .Keywords }}search/{{ .Keywords }}/{{else}}recent{{end}}?sort={{ .Config.sort }}"
- path: "{{ if .Keywords }}search/{{ .Keywords }}/{{else}}recent{{end}}?sort={{ .Config.sort }}&page=2"
- path: "{{ if .Keywords }}search/{{ .Keywords }}/{{else}}recent{{end}}?sort={{ .Config.sort }}&page=3"
- path: "{{ if .Keywords }}search/{{ .Keywords }}/{{else}}recent{{end}}?sort={{ .Config.sort }}&page=4"
- path: "{{ if .Keywords }}search/{{ .Keywords }}/{{else}}recent{{end}}?sort={{ .Config.sort }}&page=5"
rows: rows:
selector: div.media selector: div.media
@ -51,7 +55,7 @@
selector: a[href^="/torrent/"] selector: a[href^="/torrent/"]
attribute: href attribute: href
download: download:
selector: a[href*="/dl/"] selector: a[href$=".torrent"]
attribute: href attribute: href
magnet: magnet:
selector: a[href^="magnet:?xt="] selector: a[href^="magnet:?xt="]