From cd0c2a97625e3778244291a3bff8fe407d8eb8e2 Mon Sep 17 00:00:00 2001 From: Bogdan Date: Wed, 1 Jan 2025 00:24:18 +0200 Subject: [PATCH] hhanclub: allow redirects on search to bypass validation check Needed on alternative link --- src/Jackett.Common/Definitions/hhanclub.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Jackett.Common/Definitions/hhanclub.yml b/src/Jackett.Common/Definitions/hhanclub.yml index 3b8ccf628..132c80637 100644 --- a/src/Jackett.Common/Definitions/hhanclub.yml +++ b/src/Jackett.Common/Definitions/hhanclub.yml @@ -95,6 +95,8 @@ login: search: paths: - path: torrents.php + # required to bypass validation check + followredirect: true inputs: $raw: "{{ range .Categories }}cat[]{{.}}=1&{{end}}" search: "{{ if .Query.IMDBID }}{{ .Query.IMDBID }}{{ else }}{{ end }}{{ if or .Query.IMDBID .Query.DoubanID }} {{ else }}{{ .Keywords }}{{ end }}{{ if .Query.DoubanID }}{{ .Query.DoubanID }}{{ else }}{{ end }}"