Skip to content

Commit

Permalink
carphunter: updated title selector
Browse files Browse the repository at this point in the history
and multi cat search logic
  • Loading branch information
garfield69 committed Jul 30, 2021
1 parent e136e75 commit 3486771
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/Jackett.Common/Definitions/carphunter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}"
Expand All @@ -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
Expand Down

0 comments on commit 3486771

Please sign in to comment.