torrentleech-pl: remove [PACK] prefix from season packs (#14713)

Co-authored-by: ilike2burnthing <59480337+ilike2burnthing@users.noreply.github.com>
This commit is contained in:
Rafał Stępień
2023-09-24 13:45:56 +02:00
committed by GitHub
parent cb7dbf0a6f
commit f219461b5c

View File

@@ -127,6 +127,9 @@ search:
- name: trim
title:
text: "{{ if .Config.drop_polish_prefix }}{{ .Result.title_stripped }}{{ else }}{{ .Result.title_raw }}{{ end }}"
filters:
- name: re_replace
args: ["(?i)^\\[PACK\\]\\s?", ""]
details:
selector: a[href^="details.php?id="]
attribute: href