mirror of https://github.com/Jackett/Jackett
riperam: update title filters (#13181)
This commit is contained in:
parent
842cb08d9a
commit
2b38fcc82a
|
@ -922,6 +922,9 @@ search:
|
||||||
filters:
|
filters:
|
||||||
- name: querystring
|
- name: querystring
|
||||||
args: f
|
args: f
|
||||||
|
categorydesc|noappend:
|
||||||
|
selector: dt a:last-of-type
|
||||||
|
optional: true
|
||||||
title:
|
title:
|
||||||
selector: a.topictitle
|
selector: a.topictitle
|
||||||
filters:
|
filters:
|
||||||
|
@ -937,21 +940,21 @@ search:
|
||||||
args: ["Невафильм", "Nevafilm"]
|
args: ["Невафильм", "Nevafilm"]
|
||||||
- name: replace
|
- name: replace
|
||||||
args: ["Лицензия", "Lic"]
|
args: ["Лицензия", "Lic"]
|
||||||
- name: replace
|
|
||||||
args: ["селезень", "selezen"]
|
|
||||||
# normalize to SXXEYY format
|
# normalize to SXXEYY format
|
||||||
- name: re_replace
|
- name: re_replace
|
||||||
args: ["((?:\\d+)(?:-\\d+)?)\\s+[CСcс]езоны?[,:]?\\s+((?:\\d+)(?:-\\d+)?)\\s+[CСcс]ери[ия].*?\\d+(.*)\\[((?:[12][0-9]{3})(?:-(?:[12][0-9]{3}))?)(.*)", "$3 - S$1E$2 - $4 $5"]
|
args: ["(\\d+-*\\d*)\\s+[CСcс]езоны?[,:]?\\s+(\\d+-*\\d*)\\s+(?:[CСcс]ери[йия]|[Вв]ыпуски?(?:ов)?)(?:.*?\\d+)?(.*)\\[((?:[12][0-9]{3}-?){1,})(.*)", "$3 - S$1E$2 - $4 $5"]
|
||||||
- name: re_replace
|
- name: re_replace
|
||||||
args: ["(.*)?[CСcс]езоны?:?\\s+((?:\\d+)(?:-\\d+)?).*[CСcс]ери[ия]\\s+((?:\\d+)(?:-\\d+)?).*?\\d+(.*)\\[((?:[12][0-9]{3})(?:-(?:[12][0-9]{3}))?)(.*)", "$1 $4 - S$2E$3 - $5 $6"]
|
args: ["(.*)[CСcс]езоны?[,:]?\\s+(\\d+-*\\d*).*(?:[CСcс]ери[йия]|[Вв]ыпуски?(?:ов)?)\\s+(\\d+-*\\d*)(?:.*?\\d+)?(.*)\\[((?:[12][0-9]{3}-?){1,})(.*)", "$1 $4 - S$2E$3 - $5 $6"]
|
||||||
- name: re_replace
|
- name: re_replace
|
||||||
args: ["(((?:\\d+)(?:-\\d+)?)\\s+[CСcс]ери[ия].*?\\d+)", "E$2 - "]
|
args: ["((\\d+-*\\d*)\\s+(?:[CСcс]ери[йия]|[Вв]ыпуски?(?:ов)?)(?:.*?\\d+))", "E$2 - "]
|
||||||
- name: re_replace
|
- name: re_replace
|
||||||
args: ["([CСcс]ери[ия]\\s+((?:\\d+)(?:-\\d+)?).*?\\d+)", "E$2 - "]
|
args: ["((?:[CСcс]ери[йия]|[Вв]ыпуски?(?:ов)?)\\s+(\\d+-*\\d*)(?:.*?\\d+))", "E$2 - "]
|
||||||
- name: re_replace
|
- name: re_replace
|
||||||
args: ["(\\([А-Яа-яЁё\\W]+\\))|(^[А-Яа-яЁё\\W\\d]+\\/ )|([а-яА-ЯЁё \\-]+,+)|([а-яА-ЯЁё]+)", "{{ if .Config.striprussian }}{{ else }}$1$2$3$4{{ end }}"]
|
args: ["(\\([А-Яа-яЁё\\W]+\\))|(^[А-Яа-яЁё\\W\\d]+\\/ )|([а-яА-ЯЁё \\-]+,+)|([а-яА-ЯЁё]+)", "{{ if .Config.striprussian }}{{ else }}$0{{ end }}"]
|
||||||
- name: re_replace
|
- name: re_replace
|
||||||
args: ["[«»()=.,:|\\[\\]\\/]", " "]
|
args: ["[\"«»()=!?.,:|\\[\\]\\/]", " "]
|
||||||
|
- name: re_replace
|
||||||
|
args: ["^[-\\s]*", " "]
|
||||||
- name: append
|
- name: append
|
||||||
args: "{{ if .Config.addrussian }} - RUSSIAN{{ else }}{{ end }}"
|
args: "{{ if .Config.addrussian }} - RUSSIAN{{ else }}{{ end }}"
|
||||||
- name: replace
|
- name: replace
|
||||||
|
|
Loading…
Reference in New Issue