zktorrent: new selectors for cat title details

This commit is contained in:
Garfield69
2025-05-03 17:41:43 +12:00
parent c4cc225d92
commit 148928b3de

View File

@@ -111,10 +111,10 @@ search:
fields:
category:
selector: td:nth-child(1) > i
selector: i
attribute: class
title_phase1:
selector: td:nth-child(1) a
selector: a
filters:
- name: re_replace
args: ["(?i)\\b(FRENCH|MULTI|TRUEFRENCH|VOSTFR|SUBFRENCH)\\b(.+?)(\\b(19|20\\d{2})\\b)$", "$3 $1$2"]
@@ -133,7 +133,7 @@ search:
title:
text: "{{ if .Config.multilang }}{{ .Result.title_multilang }}{{ else }}{{ .Result.title_phase2 }}{{ end }}"
details:
selector: td:nth-child(1) a
selector: a
attribute: href
filters:
- name: regexp