1
0
Fork 0
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:
vinanrra 2020-01-17 19:26:35 +01:00 committed by garfield69
parent e3f44dbbce
commit 760c663259

View file

@ -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