mirror of
https://github.com/Jackett/Jackett
synced 2025-03-10 06:03:09 +00:00
bitbr: swap dual for language tags on title (#13322)
This make sure that all words with \bDUAL\b are replaced by pt-BR/en-US even though en-US may not be the origin language, but this should at least allow sonarr/radarr to find movies dubbed in portuguese. Co-authored-by: garfield69 <garfield69@outlook.com>
This commit is contained in:
parent
b63b380ca2
commit
c574c4c476
1 changed files with 5 additions and 0 deletions
|
@ -135,6 +135,11 @@ search:
|
|||
attribute: title
|
||||
title:
|
||||
text: "{{ if .Result.title_optional }}{{ .Result.title_optional }}{{ else }}{{ .Result.title_default }}{{ end }}"
|
||||
filters:
|
||||
- name: re_replace
|
||||
args:
|
||||
- "\\bDUAL\\b"
|
||||
- "pt-BR/en-US"
|
||||
details:
|
||||
selector: a[href^="details.php?id="]
|
||||
attribute: href
|
||||
|
|
Loading…
Add table
Reference in a new issue