mirror of https://github.com/Jackett/Jackett
carphunter: updated title selector
and multi cat search logic
This commit is contained in:
parent
e136e75d8e
commit
3486771ea6
|
@ -99,7 +99,7 @@ search:
|
||||||
- name: re_replace
|
- name: re_replace
|
||||||
args: ["[^a-zA-Z0-9]+", "%"]
|
args: ["[^a-zA-Z0-9]+", "%"]
|
||||||
inputs:
|
inputs:
|
||||||
$raw: "{{ range .Categories }}c{{.}}=1&{{end}}"
|
$raw: "{{ range .Categories }}cat[]={{.}}&{{end}}"
|
||||||
search: "{{ .Keywords }}"
|
search: "{{ .Keywords }}"
|
||||||
# 0 both, 1 onlyactive, 2 onlydead, 3 onlyfree, 4 x2 torrents, 5 mytorrents, 6 waiting for seeds
|
# 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 }}"
|
incldead: "{{ if .Config.freeleech }}3{{ else }}0{{ end }}"
|
||||||
|
@ -118,13 +118,13 @@ search:
|
||||||
- name: querystring
|
- name: querystring
|
||||||
args: cat
|
args: cat
|
||||||
title:
|
title:
|
||||||
selector: a[href^="/details.php?id="]
|
selector: a[href*="/details.php?id="]
|
||||||
attribute: title
|
attribute: title
|
||||||
details:
|
details:
|
||||||
selector: a[href^="/details.php?id="]
|
selector: a[href*="/details.php?id="]
|
||||||
attribute: href
|
attribute: href
|
||||||
download:
|
download:
|
||||||
selector: a[href^="/details.php?id="]
|
selector: a[href*="/details.php?id="]
|
||||||
attribute: href
|
attribute: href
|
||||||
filters:
|
filters:
|
||||||
- name: replace
|
- name: replace
|
||||||
|
|
Loading…
Reference in New Issue