From 3486771ea6c5b81d6c3315e3b95dd0994b36d06a Mon Sep 17 00:00:00 2001 From: Garfield69 Date: Fri, 30 Jul 2021 16:29:01 +1200 Subject: [PATCH] carphunter: updated title selector and multi cat search logic --- src/Jackett.Common/Definitions/carphunter.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/Jackett.Common/Definitions/carphunter.yml b/src/Jackett.Common/Definitions/carphunter.yml index b15d3f467..7b7911895 100644 --- a/src/Jackett.Common/Definitions/carphunter.yml +++ b/src/Jackett.Common/Definitions/carphunter.yml @@ -99,7 +99,7 @@ search: - name: re_replace args: ["[^a-zA-Z0-9]+", "%"] inputs: - $raw: "{{ range .Categories }}c{{.}}=1&{{end}}" + $raw: "{{ range .Categories }}cat[]={{.}}&{{end}}" search: "{{ .Keywords }}" # 0 both, 1 onlyactive, 2 onlydead, 3 onlyfree, 4 x2 torrents, 5 mytorrents, 6 waiting for seeds incldead: "{{ if .Config.freeleech }}3{{ else }}0{{ end }}" @@ -118,13 +118,13 @@ search: - name: querystring args: cat title: - selector: a[href^="/details.php?id="] + selector: a[href*="/details.php?id="] attribute: title details: - selector: a[href^="/details.php?id="] + selector: a[href*="/details.php?id="] attribute: href download: - selector: a[href^="/details.php?id="] + selector: a[href*="/details.php?id="] attribute: href filters: - name: replace