mirror of https://github.com/Jackett/Jackett
shareisland: Improved the char substitution for the title (#5856)
Improved the char substitution for the title Now only the special char are removed
This commit is contained in:
parent
500cfca424
commit
f7c043f831
|
@ -133,8 +133,12 @@
|
||||||
title:
|
title:
|
||||||
selector: a[href^="index.php?page=torrent-details&id="]
|
selector: a[href^="index.php?page=torrent-details&id="]
|
||||||
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 New Issue