mirror of
https://github.com/Jackett/Jackett.git
synced 2025-09-17 17:34:09 +02:00
seedoff: improvements for russian titles
This commit is contained in:
@@ -153,6 +153,14 @@ caps:
|
|||||||
book-search: [q]
|
book-search: [q]
|
||||||
|
|
||||||
settings:
|
settings:
|
||||||
|
- name: striprussian
|
||||||
|
type: checkbox
|
||||||
|
label: Strip Russian Letters
|
||||||
|
default: false
|
||||||
|
- name: addrussian
|
||||||
|
type: checkbox
|
||||||
|
label: Add RUSSIAN to end of all titles to improve language detection by Sonarr and Radarr. Will cause English-only results to be misidentified.
|
||||||
|
default: false
|
||||||
- name: sort
|
- name: sort
|
||||||
type: select
|
type: select
|
||||||
label: Sort requested from site
|
label: Sort requested from site
|
||||||
@@ -200,6 +208,11 @@ search:
|
|||||||
genres: ""
|
genres: ""
|
||||||
order: "{{ .Config.sort }}"
|
order: "{{ .Config.sort }}"
|
||||||
by: "{{ .Config.type }}"
|
by: "{{ .Config.type }}"
|
||||||
|
keywordsfilters:
|
||||||
|
- name: re_replace # S01 to 1
|
||||||
|
args: ["(?i)\\bS0*(\\d+)\\b", "$1"]
|
||||||
|
- name: re_replace # S01E01 to 1 1
|
||||||
|
args: ["(?i)\\bS0*(\\d+)E0*(\\d+)\\b", "$1 $2"]
|
||||||
|
|
||||||
rows:
|
rows:
|
||||||
selector: table.lista tbody tr:has(a[href^="/torrent/"])
|
selector: table.lista tbody tr:has(a[href^="/torrent/"])
|
||||||
@@ -213,6 +226,39 @@ search:
|
|||||||
args: category
|
args: category
|
||||||
title:
|
title:
|
||||||
selector: a[href^="/torrent/"]
|
selector: a[href^="/torrent/"]
|
||||||
|
filters:
|
||||||
|
- name: replace
|
||||||
|
args: ["Кураж-Бамбей", "kurazh"]
|
||||||
|
- name: replace
|
||||||
|
args: ["Кубик в Кубе", "Kubik"]
|
||||||
|
- name: replace
|
||||||
|
args: ["Кравец", "Kravec"]
|
||||||
|
- name: replace
|
||||||
|
args: ["Пифагор", "Pifagor"]
|
||||||
|
- name: replace
|
||||||
|
args: ["Невафильм", "Nevafilm"]
|
||||||
|
- name: replace
|
||||||
|
args: ["Лицензия", "Lic"]
|
||||||
|
- name: replace
|
||||||
|
args: ["селезень", "selezen"]
|
||||||
|
- name: re_replace
|
||||||
|
args: ["\\((\\d+-*\\d*)\\s+[Сс]езоны?:?\\s+(?:(\\d+-*\\d*)\\s+(?:[Сс]ери[ийя]|выпуски?(?:ов)?)(?:.*\\d+)?)?\\)(.*)\\s+((?:[12][0-9]{3}-?){1,})(.*)", "$3 - S$1E$2 - $4 $5"]
|
||||||
|
- name: re_replace
|
||||||
|
args: ["\\((?:(\\d+-*\\d*)\\s+(?:[Сс]ери[ийя]|выпуски?(?:ов)?)(?:.*\\d+)?)?\\)(.*)\\s+((?:[12][0-9]{3}-?){1,})(.*)", "$2 - E$1 - $3 $4"]
|
||||||
|
- name: re_replace
|
||||||
|
args: ["(\\([А-Яа-яЁё\\W]+\\))|(^[А-Яа-яЁё\\W\\d]+\\/ ((?:[12][0-9]{3}-?){1,}))|(^[А-Яа-яЁё\\W\\d]+\\/ )|([а-яА-ЯЁё \\-]+,+)|([а-яА-ЯЁё]+)", "{{ if .Config.striprussian }}$3{{ else }}$0{{ end }}"]
|
||||||
|
- name: append
|
||||||
|
args: "{{ if .Config.addrussian }} - RUSSIAN{{ else }}{{ end }}"
|
||||||
|
- name: re_replace
|
||||||
|
args: ["(.*)(Blu-Ray\\s*(?:Disc|EUR|CEE)?)\\s*(\\d+[pi])", "$1 BR-DISK $3"]
|
||||||
|
- name: replace
|
||||||
|
args: ["-Rip", "Rip"]
|
||||||
|
- name: replace
|
||||||
|
args: ["WEB-DL", "WEBDL"]
|
||||||
|
- name: replace
|
||||||
|
args: ["WEBDLRip", "WEBDL"]
|
||||||
|
- name: replace
|
||||||
|
args: ["HDTVRip", "HDTV"]
|
||||||
details:
|
details:
|
||||||
selector: a[href^="/torrent/"]
|
selector: a[href^="/torrent/"]
|
||||||
attribute: href
|
attribute: href
|
||||||
|
Reference in New Issue
Block a user