From 4b982436703728c476bb1736179cae851bb5b3d6 Mon Sep 17 00:00:00 2001 From: Garfield69 Date: Fri, 2 May 2025 11:34:20 +1200 Subject: [PATCH] assorted: standardise search path usage --- src/Jackett.Common/Definitions/hdforever.yml | 3 ++- src/Jackett.Common/Definitions/mnv.yml | 3 ++- src/Jackett.Common/Definitions/myspleen.yml | 1 - src/Jackett.Common/Definitions/puntotorrent.yml | 3 ++- src/Jackett.Common/Definitions/thenewfun.yml | 3 ++- src/Jackett.Common/Definitions/unionfansub.yml | 3 ++- 6 files changed, 10 insertions(+), 6 deletions(-) diff --git a/src/Jackett.Common/Definitions/hdforever.yml b/src/Jackett.Common/Definitions/hdforever.yml index 95e817634..45bb7760c 100644 --- a/src/Jackett.Common/Definitions/hdforever.yml +++ b/src/Jackett.Common/Definitions/hdforever.yml @@ -96,7 +96,8 @@ login: search: # https://hdf.world/torrents.php?searchstr=Un+Singe+en+hiver+1962&freetorrent=1&order_by=time&order_way=desc&action=advanced&searchsubmit=1 - path: torrents.php + paths: + - path: torrents.php inputs: $raw: "{{ range .Categories }}filter_cat[{{.}}]=1&{{end}}" searchstr: "{{ .Keywords }}" diff --git a/src/Jackett.Common/Definitions/mnv.yml b/src/Jackett.Common/Definitions/mnv.yml index 621ace950..21a9aa48d 100644 --- a/src/Jackett.Common/Definitions/mnv.yml +++ b/src/Jackett.Common/Definitions/mnv.yml @@ -91,7 +91,8 @@ login: search: # https://mnvv2.info/browse.php?showsearch=1&c13=1&c3=1&search=&blah=0&incldead=1&team=0&orderby=added&sort=desc&language=all - path: browse.php + paths: + - path: browse.php inputs: $raw: "{{ range .Categories }}c{{.}}=1&{{end}}" search: "{{ .Keywords }}" diff --git a/src/Jackett.Common/Definitions/myspleen.yml b/src/Jackett.Common/Definitions/myspleen.yml index 79d893d5d..84a445459 100644 --- a/src/Jackett.Common/Definitions/myspleen.yml +++ b/src/Jackett.Common/Definitions/myspleen.yml @@ -44,7 +44,6 @@ login: search: paths: - path: browse.php - method: get inputs: $raw: "{{ range .Categories }}c{{.}}=1&{{end}}" search: "{{ .Keywords }}" diff --git a/src/Jackett.Common/Definitions/puntotorrent.yml b/src/Jackett.Common/Definitions/puntotorrent.yml index 9eb8e1ab0..c1b9f410c 100644 --- a/src/Jackett.Common/Definitions/puntotorrent.yml +++ b/src/Jackett.Common/Definitions/puntotorrent.yml @@ -155,7 +155,8 @@ login: selector: form[name="jump1"] search: - path: index.php + paths: + - path: index.php keywordsfilters: - name: re_replace args: ["(?i)S(\\d+)", " $1 "] diff --git a/src/Jackett.Common/Definitions/thenewfun.yml b/src/Jackett.Common/Definitions/thenewfun.yml index d60354bc6..584cc3614 100644 --- a/src/Jackett.Common/Definitions/thenewfun.yml +++ b/src/Jackett.Common/Definitions/thenewfun.yml @@ -116,7 +116,8 @@ login: search: # https://the-new-fun.spdns.eu/browse.php?showsearch=1&c140=1&c142=1&search=2022+1080p&incldead=1&orderby=added&sort=desc - path: browse.php + paths: + - path: browse.php inputs: $raw: "{{ range .Categories }}c{{.}}=1&{{end}}" showsearch: 1 diff --git a/src/Jackett.Common/Definitions/unionfansub.yml b/src/Jackett.Common/Definitions/unionfansub.yml index 6b329c039..0b565a134 100644 --- a/src/Jackett.Common/Definitions/unionfansub.yml +++ b/src/Jackett.Common/Definitions/unionfansub.yml @@ -79,7 +79,8 @@ login: selector: div#statusbar search: - path: browse.php + paths: + - path: browse.php inputs: $raw: "{{ range .Categories }}&c{{.}}=1{{end}}" # 0 active, 1 incldead, 2 onlydead