mirror of https://github.com/Jackett/Jackett
amigosshare: Add Brazilian string to title when video contains Brazilian Portuguese audio stream (#8447)
This commit is contained in:
parent
a86a6de887
commit
314394918c
|
@ -173,6 +173,9 @@
|
||||||
_type:
|
_type:
|
||||||
selector: div.list-group-item-content p.m-0 span.badge-info:contains("Rip"), div.list-group-item-content p.m-0 span.badge-info:contains("WEB-"), div.list-group-item-content p.m-0 span.badge-info:contains("TV"), div.list-group-item-content p.m-0 span.badge-info:contains("Blu-Ray"), div.list-group-item-content p.m-0 span.badge-info:contains("BD50"), div.list-group-item-content p.m-0 span.badge-info:contains("MUX"), div.list-group-item-content p.m-0 span.badge-info:contains("DVD"), div.list-group-item-content p.m-0 span.badge-info:contains("320"), div.list-group-item-content p.m-0 span.badge-info:contains("CAM"), div.list-group-item-content p.m-0 span.badge-info:contains("rip")
|
selector: div.list-group-item-content p.m-0 span.badge-info:contains("Rip"), div.list-group-item-content p.m-0 span.badge-info:contains("WEB-"), div.list-group-item-content p.m-0 span.badge-info:contains("TV"), div.list-group-item-content p.m-0 span.badge-info:contains("Blu-Ray"), div.list-group-item-content p.m-0 span.badge-info:contains("BD50"), div.list-group-item-content p.m-0 span.badge-info:contains("MUX"), div.list-group-item-content p.m-0 span.badge-info:contains("DVD"), div.list-group-item-content p.m-0 span.badge-info:contains("320"), div.list-group-item-content p.m-0 span.badge-info:contains("CAM"), div.list-group-item-content p.m-0 span.badge-info:contains("rip")
|
||||||
optional: true
|
optional: true
|
||||||
|
_language:
|
||||||
|
selector: div.list-group-item-content p.m-0 span.badge-primary[style$="#b6249d;"]
|
||||||
|
optional: true
|
||||||
title:
|
title:
|
||||||
selector: a[href^="torrents-details.php?id="]
|
selector: a[href^="torrents-details.php?id="]
|
||||||
filters:
|
filters:
|
||||||
|
@ -188,6 +191,11 @@
|
||||||
# add the type to the title
|
# add the type to the title
|
||||||
- name: append
|
- name: append
|
||||||
args: "{{if .Result._type}} {{.Result._type}}{{else}}{{end}}"
|
args: "{{if .Result._type}} {{.Result._type}}{{else}}{{end}}"
|
||||||
|
# add audio to the title
|
||||||
|
- name: append
|
||||||
|
args: "{{if .Result._language}} {{.Result._language}}{{else}}{{end}}"
|
||||||
|
- name: re_replace
|
||||||
|
args: ["(Dual-Audio|Dublado)", "Brazilian $1"]
|
||||||
details:
|
details:
|
||||||
selector: a[href^="torrents-details.php?id="]
|
selector: a[href^="torrents-details.php?id="]
|
||||||
attribute: href
|
attribute: href
|
||||||
|
|
Loading…
Reference in New Issue