From e4a7d24d90a5d96ad83ef686eabba70fda14189f Mon Sep 17 00:00:00 2001 From: Garfield69 Date: Fri, 5 Jan 2024 16:17:07 +1300 Subject: [PATCH] ebookbay: switch to path inputs --- src/Jackett.Common/Definitions/ebookbay.yml | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/src/Jackett.Common/Definitions/ebookbay.yml b/src/Jackett.Common/Definitions/ebookbay.yml index d800584b6..a4dcb7116 100644 --- a/src/Jackett.Common/Definitions/ebookbay.yml +++ b/src/Jackett.Common/Definitions/ebookbay.yml @@ -87,11 +87,13 @@ search: # with just 5 results per page, try to grab up to 25 results # http://ebb.la/?s=teeth # http://ebb.la/page/2/?s=teeth - - path: "{{ if .Keywords }}?s={{ .Keywords }}{{ else }}{{ end }}" - - path: "page/2/{{ if .Keywords }}?s={{ .Keywords }}{{ else }}{{ end }}" - - path: "page/3/{{ if .Keywords }}?s={{ .Keywords }}{{ else }}{{ end }}" - - path: "page/4/{{ if .Keywords }}?s={{ .Keywords }}{{ else }}{{ end }}" - - path: "page/5/{{ if .Keywords }}?s={{ .Keywords }}{{ else }}{{ end }}" + - path: / + - path: "page/2/" + - path: "page/3/" + - path: "page/4/" + - path: "page/5/" + inputs: + s: "{{ .Keywords }}" rows: selector: "div#content > div.poststuff:has(~ div.entry a.download), div#content > div.poststuff ~ div.entry:has(a.download)"