From 0784e0784cf1ea08ec9191e521f169ec059c016b Mon Sep 17 00:00:00 2001 From: Jorman Date: Tue, 25 Feb 2020 06:23:54 +0100 Subject: [PATCH] btdb: fetch up to 100 rows (#7319) --- src/Jackett.Common/Definitions/btdb.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/Jackett.Common/Definitions/btdb.yml b/src/Jackett.Common/Definitions/btdb.yml index 7042c72ef..eceabc08f 100644 --- a/src/Jackett.Common/Definitions/btdb.yml +++ b/src/Jackett.Common/Definitions/btdb.yml @@ -38,6 +38,10 @@ search: paths: - 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: selector: div.media @@ -51,7 +55,7 @@ selector: a[href^="/torrent/"] attribute: href download: - selector: a[href*="/dl/"] + selector: a[href$=".torrent"] attribute: href magnet: selector: a[href^="magnet:?xt="]