1
0
Fork 0
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:
Jorman 2019-08-15 22:52:49 +02:00 committed by garfield69
parent f7c043f831
commit a3f0105bae

View file

@ -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