diff --git a/src/Jackett.Common/Definitions/nnm-club.yml b/src/Jackett.Common/Definitions/nnm-club.yml index 60e11f272..d5e165a61 100644 --- a/src/Jackett.Common/Definitions/nnm-club.yml +++ b/src/Jackett.Common/Definitions/nnm-club.yml @@ -12,6 +12,18 @@ certificates: - 7877113458e90f3643dd28424657a29469f5dc55 + settings: + - name: username + type: text + label: Username + - name: password + type: password + label: Password + - name: striprussian + type: checkbox + label: Strip Russian Letters + default: true + caps: categorymappings: # TV @@ -726,7 +738,7 @@ - name: re_replace args: ["(\\([Сс]езон\\s+(\\d+).+[Сс]ери[ия]\\s+(?:(\\d+-*\\d*).*\\d+)*\\))", "(S$2E$3) RUS"] - name: re_replace - args: ["(\\([А-Яа-я\\W]+\\))|(^[А-Яа-я\\W\\d]+\\/ )|([а-яА-Я \\-]+,+)|([а-яА-Я]+)", ""] + args: ["(\\([А-Яа-я\\W]+\\))|(^[А-Яа-я\\W\\d]+\\/ )|([а-яА-Я \\-]+,+)|([а-яА-Я]+)", "{{ if .Config.striprussian }}{{ else }}$1$2$3$4{{ end }}"] - name: replace args: ["WEBDLRip", "WEBDL"] - name: replace