mirror of
https://github.com/Jackett/Jackett.git
synced 2025-09-17 17:34:09 +02:00
ilcorsaronero: cleanup for Sonarr #11449
This commit is contained in:
@@ -85,11 +85,8 @@ search:
|
|||||||
filters:
|
filters:
|
||||||
- name: split
|
- name: split
|
||||||
args: ["/", -1]
|
args: ["/", -1]
|
||||||
- name: diacritics
|
- name: replace # replace underscore with " " (space)
|
||||||
args: replace
|
args: ["_", " "]
|
||||||
- name: urldecode
|
|
||||||
- name: re_replace # replace special characters with " " (space)
|
|
||||||
args: ["[\\[!\"#$%&'()*+,\\-.\\/:;<=>?@[\\]^_`{|}~]", " "]
|
|
||||||
- name: re_replace # replace multiple spaces
|
- name: re_replace # replace multiple spaces
|
||||||
args: ["[ ]{2,}", " "]
|
args: ["[ ]{2,}", " "]
|
||||||
# normalize to SXXEYY format
|
# normalize to SXXEYY format
|
||||||
@@ -109,6 +106,23 @@ search:
|
|||||||
args: ["(?i)\\b(?:Puntate\\s*)(\\d+)\\s?(\\d+)", "E0$1-0$2"]
|
args: ["(?i)\\b(?:Puntate\\s*)(\\d+)\\s?(\\d+)", "E0$1-0$2"]
|
||||||
- name: re_replace # rimozioni varie
|
- name: re_replace # rimozioni varie
|
||||||
args: ["(?i)(Serie completa|Completat?a?|in pausa)", ""]
|
args: ["(?i)(Serie completa|Completat?a?|in pausa)", ""]
|
||||||
|
# cleanup for Sonarr
|
||||||
|
- name: re_replace # EP 3 4 to E3-4
|
||||||
|
args: ["(?i)\\sEP\\s(\\d{1,2})\\s(E?\\s?\\d{1,2})\\s", " E$1-$2 "]
|
||||||
|
- name: re_replace # S02E04 05 to S02E04-05
|
||||||
|
args: ["(?i)\\sS(\\d{1,2})\\s?E\\s?(\\d{1,2})\\s(E?\\s?\\d{1,2})\\s", " S$1E$2-$3 "]
|
||||||
|
- name: re_replace
|
||||||
|
args: ["(?i)AC3\\s?(\\d)\\s(\\d)", "AC3 $1.$2"]
|
||||||
|
- name: re_replace
|
||||||
|
args: ["(?i) DD\\s?(\\d)\\s(\\d)", " DD $1.$2"]
|
||||||
|
- name: re_replace
|
||||||
|
args: ["(?i) DDP\\s?(\\d)\\s(\\d)", " DDP $1.$2"]
|
||||||
|
- name: re_replace
|
||||||
|
args: ["(?i)\\sE\\s?AC3", " EAC3"]
|
||||||
|
- name: re_replace
|
||||||
|
args: ["(?i)WEB\\sDL", "WEBDL"]
|
||||||
|
- name: re_replace
|
||||||
|
args: ["(?i)HDTVRIP", "HDTV"]
|
||||||
description:
|
description:
|
||||||
selector: td:nth-child(1) a
|
selector: td:nth-child(1) a
|
||||||
attribute: href
|
attribute: href
|
||||||
|
Reference in New Issue
Block a user