mirror of
https://github.com/Jackett/Jackett
synced 2025-01-01 12:46:23 +00:00
torrentland: add language tags to titles (#6968)
Fixed the problem identifing results always as English now they will be identified as Spanish or English depending of title..
This commit is contained in:
parent
e3f44dbbce
commit
760c663259
1 changed files with 12 additions and 1 deletions
|
@ -132,10 +132,21 @@
|
|||
- name: querystring
|
||||
args: category
|
||||
title:
|
||||
selector: td:nth-child(2) a
|
||||
selector: td:nth-child(2) a:contains("VOSE")
|
||||
optional: true
|
||||
filters:
|
||||
- name: re_replace
|
||||
args: ["(?i)\\bT(\\d+)", "S$1"]
|
||||
- name: append
|
||||
args: " [English]"
|
||||
title:
|
||||
selector: td:nth-child(2) a:not(:contains("VOSE"))
|
||||
optional: true
|
||||
filters:
|
||||
- name: re_replace
|
||||
args: ["(?i)\\bT(\\d+)", "S$1"]
|
||||
- name: append
|
||||
args: " [Spanish]"
|
||||
banner:
|
||||
optional: true
|
||||
selector: td:nth-child(2) a
|
||||
|
|
Loading…
Reference in a new issue