mirror of
https://github.com/Jackett/Jackett.git
synced 2025-10-02 08:34:32 +02:00
mononokebt: add vostfr checkbox for add to titles (#10816)
This commit is contained in:
@@ -16,6 +16,18 @@ caps:
|
|||||||
search: [q]
|
search: [q]
|
||||||
tv-search: [q, season, ep]
|
tv-search: [q, season, ep]
|
||||||
|
|
||||||
|
settings:
|
||||||
|
- name: username
|
||||||
|
type: text
|
||||||
|
label: Username
|
||||||
|
- name: password
|
||||||
|
type: password
|
||||||
|
label: Password
|
||||||
|
- name: vostfr
|
||||||
|
type: checkbox
|
||||||
|
label: Add VOSTFR to titles
|
||||||
|
default: false
|
||||||
|
|
||||||
login:
|
login:
|
||||||
path: takelogin.php
|
path: takelogin.php
|
||||||
method: post
|
method: post
|
||||||
@@ -40,8 +52,12 @@ search:
|
|||||||
fields:
|
fields:
|
||||||
category:
|
category:
|
||||||
text: 1
|
text: 1
|
||||||
title:
|
title_normal:
|
||||||
selector: a[href^="details.php?id="]
|
selector: a[href^="details.php?id="]
|
||||||
|
title_vostfr:
|
||||||
|
text: "{{ .Result.title_normal }} VOSTFR"
|
||||||
|
title:
|
||||||
|
text: "{{ if .Config.vostfr }}{{ .Result.title_vostfr }}{{ else }}{{ .Result.title_normal }}{{ end }}"
|
||||||
details:
|
details:
|
||||||
selector: a[href^="details.php?id="]
|
selector: a[href^="details.php?id="]
|
||||||
attribute: href
|
attribute: href
|
||||||
|
Reference in New Issue
Block a user