1
0
Fork 0
mirror of https://github.com/Jackett/Jackett synced 2024-12-22 07:43:13 +00:00

wihd: fix keywordless search + new cats #15754

This commit is contained in:
Garfield69 2024-12-17 08:31:55 +13:00
parent 4c5bb840b8
commit b0dc5fce46

View file

@ -39,6 +39,10 @@ caps:
- {id: 59e67c0ed5b6a3e689dd1e1f, cat: Movies/UHD, desc: "Bluray 4K"} - {id: 59e67c0ed5b6a3e689dd1e1f, cat: Movies/UHD, desc: "Bluray 4K"}
- {id: 59e488174a23a800358b4567, cat: Movies/UHD, desc: "Bluray Remux 4K"} - {id: 59e488174a23a800358b4567, cat: Movies/UHD, desc: "Bluray Remux 4K"}
- {id: 5a64af02ee30983a7e596aed, cat: Movies/HD, desc: "WEB-DL"} - {id: 5a64af02ee30983a7e596aed, cat: Movies/HD, desc: "WEB-DL"}
- {id: 5cd19d6c3fc7af3ea2491037, cat: Movies/UHD, desc: "2160p"}
- {id: 5cd19f753fc7af3ea2491038, cat: TV/UHD, desc: "2160p"}
- {id: 5cd1a01f3fc7af3ea2491039, cat: TV/Anime, desc: "2160p"}
- {id: 5cd1a0b73fc7af3ea249103a, cat: Movies/Other, desc: "2160p"}
modes: modes:
search: [q] search: [q]
@ -92,10 +96,7 @@ login:
search: search:
paths: paths:
- path: torrent/ajaxfiltertorrent/{{ .Keywords }} - path: "torrent/ajaxfiltertorrent/{{ if .Keywords }}{{ .Keywords }}{{ else }}null{{ end }}"
keywordsfilters:
- name: re_replace
args: ["^$", "null"]
inputs: inputs:
$raw: "{{ range .Categories }}subcat[]={{.}}&{{end}}" $raw: "{{ range .Categories }}subcat[]={{.}}&{{end}}"
exclu: 0 exclu: 0
@ -167,6 +168,10 @@ search:
":contains(\"Divers\"):contains(\"Bluray\")": "565af82d1fd35761568b45b7" ":contains(\"Divers\"):contains(\"Bluray\")": "565af82d1fd35761568b45b7"
":contains(\"Divers\"):contains(\"1080p\")": "59591f0807fd301b6eaa7a8f" ":contains(\"Divers\"):contains(\"1080p\")": "59591f0807fd301b6eaa7a8f"
":contains(\"Divers\"):contains(\"720p\")": "595cd82e07fd301b6eaa7a90" ":contains(\"Divers\"):contains(\"720p\")": "595cd82e07fd301b6eaa7a90"
":contains(\"Films\"):contains(\"2160p\")": "5cd19d6c3fc7af3ea2491037"
":contains(\"Séries\"):contains(\"2160p\")": "5cd19f753fc7af3ea2491038"
":contains(\"Animations\"):contains(\"2160p\")": "5cd1a01f3fc7af3ea2491039"
":contains(\"Divers\"):contains(\"2160p\")": "5cd1a0b73fc7af3ea249103a"
"*": "" "*": ""
size: # actuall size is not provided, use some default values to make clients happy size: # actuall size is not provided, use some default values to make clients happy
selector: div.category selector: div.category
@ -199,6 +204,10 @@ search:
":contains(\"Divers\"):contains(\"Bluray\")": "20GB" ":contains(\"Divers\"):contains(\"Bluray\")": "20GB"
":contains(\"Divers\"):contains(\"1080p\")": "5GB" ":contains(\"Divers\"):contains(\"1080p\")": "5GB"
":contains(\"Divers\"):contains(\"720p\")": "4GB" ":contains(\"Divers\"):contains(\"720p\")": "4GB"
":contains(\"Films\"):contains(\"2160p\")": "20GB"
":contains(\"Séries\"):contains(\"2160p\")": "20GB"
":contains(\"Animations\"):contains(\"2160p\")": "20GB"
":contains(\"Divers\"):contains(\"2160p\")": "20GB"
"*": "" "*": ""
date: date:
text: now text: now