happyfappy: new cats

update category selector
This commit is contained in:
Garfield69 2023-03-23 08:52:40 +13:00
parent c830af6ee2
commit 300852a417
1 changed files with 12 additions and 5 deletions

View File

@ -10,7 +10,13 @@ links:
caps: caps:
categorymappings: categorymappings:
- {id: 1, cat: XXX, desc: "PRON"} - {id: 3, cat: XXX, desc: "Gay"}
- {id: 4, cat: XXX, desc: "Interracial"}
- {id: 5, cat: XXX, desc: "Lesbian"}
- {id: 6, cat: XXX, desc: "Onlyfans"}
- {id: 1, cat: XXX, desc: "Pron"}
- {id: 8, cat: XXX, desc: "Retro"}
- {id: 7, cat: XXX, desc: "VR"}
modes: modes:
search: [q] search: [q]
@ -66,21 +72,22 @@ search:
- path: torrents.php - path: torrents.php
inputs: inputs:
$raw: "{{ range .Categories }}filter_cat[{{.}}]=1&{{end}}" $raw: "{{ range .Categories }}filter_cat[{{.}}]=1&{{end}}"
searchtext: ""
title: "{{ .Keywords }}" title: "{{ .Keywords }}"
order_by: "{{ .Config.sort }}" order_by: "{{ .Config.sort }}"
order_way: "{{ .Config.type }}" order_way: "{{ .Config.type }}"
action: advanced action: advanced
filter_freeleech: "{{ if .Config.freeleech }}1{{ else }}{{ end }}" filter_freeleech: "{{ if .Config.freeleech }}1{{ else }}{{ end }}"
filelist: ""
taglist: ""
rows: rows:
selector: table#torrent_table > tbody > tr[class^="torrent row"] selector: table#torrent_table > tbody > tr[class^="torrent row"]
fields: fields:
category: category:
text: 1 selector: a[href^="/torrents.php?filter_cat["]
attribute: href
filters:
- name: regexp
args: \[(\d+)\]
title: title:
selector: a[href^="/torrents.php?id="] selector: a[href^="/torrents.php?id="]
details: details: