mirror of
https://github.com/Jackett/Jackett.git
synced 2025-09-17 17:34:09 +02:00
ilcorsaroverde: fix season search for sonarr (#12613)
Co-authored-by: ilike2burnthing <59480337+ilike2burnthing@users.noreply.github.com>
This commit is contained in:
@@ -118,6 +118,10 @@ settings:
|
||||
- name: password
|
||||
type: password
|
||||
label: Password
|
||||
- name: compatItal
|
||||
type: checkbox
|
||||
label: Improve Sonarr compatibility with the tracker's Italian season naming scheme by renaming Sxx to Stagione xx in searches. Can cause results already using Sxx to not be found.
|
||||
default: false
|
||||
- name: info30s
|
||||
type: info
|
||||
label: 30s Delay for Searches
|
||||
@@ -164,6 +168,8 @@ search:
|
||||
keywordsfilters:
|
||||
- name: re_replace
|
||||
args: ["(\\w+)", " +$1"] # prepend + to each word, all keywords must be 2 characters or more
|
||||
- name: re_replace
|
||||
args: ["(?i)(\\bS(\\d+)(E\\d+)?\\b)", "{{ if .Config.compatItal }}Stagione +$2 $3{{ else }}S$2$3{{ end }}"] # Replace SXXEYY with Stagione XX EYY
|
||||
|
||||
rows:
|
||||
selector: div.search_results_posts
|
||||
|
Reference in New Issue
Block a user