mirror of
https://github.com/Jackett/Jackett.git
synced 2025-09-17 17:34:09 +02:00
Add option to perform agressive quality mapping, required for some fr anime releases
This commit is contained in:
@@ -9,8 +9,12 @@
|
|||||||
- https://nyaa.si
|
- https://nyaa.si
|
||||||
certificates:
|
certificates:
|
||||||
- 3801e330482d4f9baef71ca4e33ba23ede74f59c # incomplete CA chain
|
- 3801e330482d4f9baef71ca4e33ba23ede74f59c # incomplete CA chain
|
||||||
|
|
||||||
settings:
|
settings:
|
||||||
|
- name: agressive_quality_mapping
|
||||||
|
type: checkbox
|
||||||
|
label: "Agressive quality mapping (required for some releases, will map FHD as 1080p)"
|
||||||
|
default: false
|
||||||
- name: filter-id
|
- name: filter-id
|
||||||
type: select
|
type: select
|
||||||
label: Filter
|
label: Filter
|
||||||
@@ -98,8 +102,15 @@
|
|||||||
filters:
|
filters:
|
||||||
- name: split
|
- name: split
|
||||||
args: [ "=", -1 ]
|
args: [ "=", -1 ]
|
||||||
title:
|
title_quality:
|
||||||
selector: td:nth-child(2) a:last-of-type
|
selector: td:nth-child(2) a:last-of-type
|
||||||
|
filters:
|
||||||
|
- name: replace
|
||||||
|
args: ["FHD", "1080p"]
|
||||||
|
title_normal:
|
||||||
|
selector: td:nth-child(2) a:last-of-type
|
||||||
|
title:
|
||||||
|
text: "{{if .Config.agressive_quality_mapping }}{{ .Result.title_quality }}{{else}}{{ .Result.title_normal }}{{end}}"
|
||||||
details:
|
details:
|
||||||
selector: td:nth-child(2) a:last-of-type
|
selector: td:nth-child(2) a:last-of-type
|
||||||
attribute: href
|
attribute: href
|
||||||
|
Reference in New Issue
Block a user