mirror of
https://github.com/Jackett/Jackett
synced 2025-02-23 06:40:57 +00:00
ilcorsaroblu: Improved the char substitution for the title (#5855)
Improved the char substitution for the title Now only the special char are removed
This commit is contained in:
parent
f7c043f831
commit
a3f0105bae
1 changed files with 5 additions and 1 deletions
|
@ -70,8 +70,12 @@
|
||||||
title:
|
title:
|
||||||
selector: td:nth-child(2) > a
|
selector: td:nth-child(2) > a
|
||||||
filters:
|
filters:
|
||||||
|
# - name: re_replace # replace special characters with " " (space)
|
||||||
|
# args: ["[^a-zA-Z0-9\\s]|\\.", " "]
|
||||||
- name: re_replace # replace special characters with " " (space)
|
- name: re_replace # replace special characters with " " (space)
|
||||||
args: ["[^a-zA-Z0-9\\s]|\\.", " "]
|
args: ["[\\[!\"#$%&'()*+,\\-.\\/:;<=>?@[\\]^_`{|}~]", " "]
|
||||||
|
- name: diacritics
|
||||||
|
args: replace
|
||||||
- name: re_replace # replace multiple spaces
|
- name: re_replace # replace multiple spaces
|
||||||
args: ["[ ]{2,}", " "]
|
args: ["[ ]{2,}", " "]
|
||||||
# normalize to SXXEYY format
|
# normalize to SXXEYY format
|
||||||
|
|
Loading…
Reference in a new issue