1
0
Fork 0
mirror of https://github.com/Jackett/Jackett synced 2025-01-04 22:41:49 +00:00

hhanclub: allow redirects on search to bypass validation check

Needed on alternative link
This commit is contained in:
Bogdan 2025-01-01 00:24:18 +02:00
parent e28364f759
commit cd0c2a9762

View file

@ -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 }}"